HSL(237, 58%, 62%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,58%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 58%, 62%) | color: hsl(237, 58%, 62%) | |
| HEX | #666CD6 | color: #666CD6 | |
| RGB | rgb(102, 108, 214) | color: rgb(102, 108, 214) | |
| CMYK | cmyk(52%, 50%, 0%, 16%) | — | |
| HSV | hsv(237, 52%, 84%) | — | |
| HWB | hwb(237 40% 16%) | color: hwb(237 40% 16%) | |
| OKLCH | oklch(0.5794 0.1596 277.74) | color: oklch(0.5794 0.1596 277.74) | |
| Lab | lab(49.98 27.06 -55.45) | color: lab(49.98 27.06 -55.45) | |
| LCH | lch(49.98 61.7 296.01) | color: lch(49.98 61.7 296.01) |
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)
#6969BC — rgb(105, 105, 188)
Deuteranopia (Green-blind)
#6868B6 — rgb(104, 104, 182)
Tritanopia (Blue-blind)
#66A8A4 — rgb(102, 168, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 58%, 62%);
text
color: hsl(237, 58%, 62%);
border
border: 2px solid hsl(237, 58%, 62%);
gradient light
background: linear-gradient(to right, hsl(237, 58%, 82%), hsl(237, 58%, 62%));
gradient dark
background: linear-gradient(to right, hsl(237, 58%, 62%), hsl(237, 58%, 42%))
hex
background-color: #666CD6;
tailwind
bg-[hsl(237,58%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 58%, 62%, 0.4);
css variable
--color-primary: hsl(237, 58%, 62%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 58%, 62%)?
HEX: #666CD6 | RGB: rgb(102, 108, 214) | CMYK: 52%, 50%, 0%, 16% | HSV: 237°, 52%, 84%. Copy any format from the conversion table above.
What colors go well with #666CD6?
The complementary color is HSL(57, 58%, 62%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 58%, 62%) in CSS?
As HSL: color: hsl(237, 58%, 62%); — As HEX: color: #666CD6; — As RGB: color: rgb(102, 108, 214); — Tailwind CSS: bg-[hsl(237,58%,62%)] — CSS variable: --color-primary: hsl(237, 58%, 62%);