HSL(218, 30%, 55%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(218,30%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(218, 30%, 55%) | color: hsl(218, 30%, 55%) | |
| HEX | #6A83AF | color: #6A83AF | |
| RGB | rgb(106, 131, 175) | color: rgb(106, 131, 175) | |
| CMYK | cmyk(39%, 25%, 0%, 31%) | — | |
| HSV | hsv(218, 39%, 69%) | — | |
| HWB | hwb(218 42% 31%) | color: hwb(218 42% 31%) | |
| OKLCH | oklch(0.6079 0.0734 261.48) | color: oklch(0.6079 0.0734 261.48) | |
| Lab | lab(54.44 2.42 -26.11) | color: lab(54.44 2.42 -26.11) | |
| LCH | lch(54.44 26.22 275.3) | color: lch(54.44 26.22 275.3) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#7575A4 — rgb(117, 117, 164)
Deuteranopia (Green-blind)
#7372A2 — rgb(115, 114, 162)
Tritanopia (Blue-blind)
#6B9C9A — rgb(107, 156, 154)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(218, 30%, 55%);
text
color: hsl(218, 30%, 55%);
border
border: 2px solid hsl(218, 30%, 55%);
gradient light
background: linear-gradient(to right, hsl(218, 30%, 75%), hsl(218, 30%, 55%));
gradient dark
background: linear-gradient(to right, hsl(218, 30%, 55%), hsl(218, 30%, 35%))
hex
background-color: #6A83AF;
tailwind
bg-[hsl(218,30%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(218, 30%, 55%, 0.4);
css variable
--color-primary: hsl(218, 30%, 55%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(218, 30%, 55%)?
HEX: #6A83AF | RGB: rgb(106, 131, 175) | CMYK: 39%, 25%, 0%, 31% | HSV: 218°, 39%, 69%. Copy any format from the conversion table above.
What colors go well with #6A83AF?
The complementary color is HSL(38, 30%, 55%). For a triadic harmony, use hues 218°, 338°, and 98°. For analogous combinations, try hues 188° and 248°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(218, 30%, 55%) in CSS?
As HSL: color: hsl(218, 30%, 55%); — As HEX: color: #6A83AF; — As RGB: color: rgb(106, 131, 175); — Tailwind CSS: bg-[hsl(218,30%,55%)] — CSS variable: --color-primary: hsl(218, 30%, 55%);