HSL(236, 20%, 61%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(236,20%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(236, 20%, 61%) | color: hsl(236, 20%, 61%) | |
| HEX | #888AAF | color: #888AAF | |
| RGB | rgb(136, 138, 175) | color: rgb(136, 138, 175) | |
| CMYK | cmyk(22%, 21%, 0%, 31%) | — | |
| HSV | hsv(237, 22%, 69%) | — | |
| HWB | hwb(237 54% 31%) | color: hwb(237 54% 31%) | |
| OKLCH | oklch(0.6451 0.0551 282.31) | color: oklch(0.6451 0.0551 282.31) | |
| Lab | lab(58.51 7.41 -19.66) | color: lab(58.51 7.41 -19.66) | |
| LCH | lch(58.51 21.01 290.65) | color: lch(58.51 21.01 290.65) |
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)
#8989A6 — rgb(137, 137, 166)
Deuteranopia (Green-blind)
#8989A4 — rgb(137, 137, 164)
Tritanopia (Blue-blind)
#889F9D — rgb(136, 159, 157)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(236, 20%, 61%);
text
color: hsl(236, 20%, 61%);
border
border: 2px solid hsl(236, 20%, 61%);
gradient light
background: linear-gradient(to right, hsl(236, 20%, 81%), hsl(236, 20%, 61%));
gradient dark
background: linear-gradient(to right, hsl(236, 20%, 61%), hsl(236, 20%, 41%))
hex
background-color: #888AAF;
tailwind
bg-[hsl(236,20%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(236, 20%, 61%, 0.4);
css variable
--color-primary: hsl(236, 20%, 61%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(236, 20%, 61%)?
HEX: #888AAF | RGB: rgb(136, 138, 175) | CMYK: 22%, 21%, 0%, 31% | HSV: 237°, 22%, 69%. Copy any format from the conversion table above.
What colors go well with #888AAF?
The complementary color is HSL(56, 20%, 61%). For a triadic harmony, use hues 236°, 356°, and 116°. For analogous combinations, try hues 206° and 266°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(236, 20%, 61%) in CSS?
As HSL: color: hsl(236, 20%, 61%); — As HEX: color: #888AAF; — As RGB: color: rgb(136, 138, 175); — Tailwind CSS: bg-[hsl(236,20%,61%)] — CSS variable: --color-primary: hsl(236, 20%, 61%);