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