HSL(249, 20%, 59%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(249,20%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(249, 20%, 59%) | color: hsl(249, 20%, 59%) | |
| HEX | #8882AB | color: #8882AB | |
| RGB | rgb(136, 130, 171) | color: rgb(136, 130, 171) | |
| CMYK | cmyk(20%, 24%, 0%, 33%) | — | |
| HSV | hsv(249, 24%, 67%) | — | |
| HWB | hwb(249 51% 33%) | color: hwb(249 51% 33%) | |
| OKLCH | oklch(0.6268 0.0614 291.23) | color: oklch(0.6268 0.0614 291.23) | |
| Lab | lab(56.23 11.09 -20.87) | color: lab(56.23 11.09 -20.87) | |
| LCH | lch(56.23 23.63 297.99) | color: lch(56.23 23.63 297.99) |
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)
#8585A1 — rgb(133, 133, 161)
Deuteranopia (Green-blind)
#86869F — rgb(134, 134, 159)
Tritanopia (Blue-blind)
#889998 — rgb(136, 153, 152)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(249, 20%, 59%);
text
color: hsl(249, 20%, 59%);
border
border: 2px solid hsl(249, 20%, 59%);
gradient light
background: linear-gradient(to right, hsl(249, 20%, 79%), hsl(249, 20%, 59%));
gradient dark
background: linear-gradient(to right, hsl(249, 20%, 59%), hsl(249, 20%, 39%))
hex
background-color: #8882AB;
tailwind
bg-[hsl(249,20%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(249, 20%, 59%, 0.4);
css variable
--color-primary: hsl(249, 20%, 59%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(249, 20%, 59%)?
HEX: #8882AB | RGB: rgb(136, 130, 171) | CMYK: 20%, 24%, 0%, 33% | HSV: 249°, 24%, 67%. Copy any format from the conversion table above.
What colors go well with #8882AB?
The complementary color is HSL(69, 20%, 59%). For a triadic harmony, use hues 249°, 9°, and 129°. For analogous combinations, try hues 219° and 279°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(249, 20%, 59%) in CSS?
As HSL: color: hsl(249, 20%, 59%); — As HEX: color: #8882AB; — As RGB: color: rgb(136, 130, 171); — Tailwind CSS: bg-[hsl(249,20%,59%)] — CSS variable: --color-primary: hsl(249, 20%, 59%);