HSL(232, 17%, 48%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(232,17%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 17%, 48%) | color: hsl(232, 17%, 48%) | |
| HEX | #666B8F | color: #666B8F | |
| RGB | rgb(102, 107, 143) | color: rgb(102, 107, 143) | |
| CMYK | cmyk(29%, 25%, 0%, 44%) | — | |
| HSV | hsv(233, 29%, 56%) | — | |
| HWB | hwb(233 40% 44%) | color: hwb(233 40% 44%) | |
| OKLCH | oklch(0.5376 0.0567 278.17) | color: oklch(0.5376 0.0567 278.17) | |
| Lab | lab(46.07 6.75 -20.33) | color: lab(46.07 6.75 -20.33) | |
| LCH | lch(46.07 21.42 288.37) | color: lch(46.07 21.42 288.37) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#686886 — rgb(104, 104, 134)
Deuteranopia (Green-blind)
#686884 — rgb(104, 104, 132)
Tritanopia (Blue-blind)
#667F7E — rgb(102, 127, 126)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 17%, 48%);
text
color: hsl(232, 17%, 48%);
border
border: 2px solid hsl(232, 17%, 48%);
gradient light
background: linear-gradient(to right, hsl(232, 17%, 68%), hsl(232, 17%, 48%));
gradient dark
background: linear-gradient(to right, hsl(232, 17%, 48%), hsl(232, 17%, 28%))
hex
background-color: #666B8F;
tailwind
bg-[hsl(232,17%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 17%, 48%, 0.4);
css variable
--color-primary: hsl(232, 17%, 48%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 17%, 48%)?
HEX: #666B8F | RGB: rgb(102, 107, 143) | CMYK: 29%, 25%, 0%, 44% | HSV: 233°, 29%, 56%. Copy any format from the conversion table above.
What colors go well with #666B8F?
The complementary color is HSL(52, 17%, 48%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 17%, 48%) in CSS?
As HSL: color: hsl(232, 17%, 48%); — As HEX: color: #666B8F; — As RGB: color: rgb(102, 107, 143); — Tailwind CSS: bg-[hsl(232,17%,48%)] — CSS variable: --color-primary: hsl(232, 17%, 48%);