HSL(215, 22%, 62%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(215,22%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(215, 22%, 62%) | color: hsl(215, 22%, 62%) | |
| HEX | #899BB3 | color: #899BB3 | |
| RGB | rgb(137, 155, 179) | color: rgb(137, 155, 179) | |
| CMYK | cmyk(23%, 13%, 0%, 30%) | — | |
| HSV | hsv(214, 23%, 70%) | — | |
| HWB | hwb(214 54% 30%) | color: hwb(214 54% 30%) | |
| OKLCH | oklch(0.6836 0.041 255.66) | color: oklch(0.6836 0.041 255.66) | |
| Lab | lab(63.36 -0.96 -14.58) | color: lab(63.36 -0.96 -14.58) | |
| LCH | lch(63.36 14.61 266.23) | color: lch(63.36 14.61 266.23) |
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)
#9191AD — rgb(145, 145, 173)
Deuteranopia (Green-blind)
#908EAC — rgb(144, 142, 172)
Tritanopia (Blue-blind)
#8AA9A8 — rgb(138, 169, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(215, 22%, 62%);
text
color: hsl(215, 22%, 62%);
border
border: 2px solid hsl(215, 22%, 62%);
gradient light
background: linear-gradient(to right, hsl(215, 22%, 82%), hsl(215, 22%, 62%));
gradient dark
background: linear-gradient(to right, hsl(215, 22%, 62%), hsl(215, 22%, 42%))
hex
background-color: #899BB3;
tailwind
bg-[hsl(215,22%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(215, 22%, 62%, 0.4);
css variable
--color-primary: hsl(215, 22%, 62%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(215, 22%, 62%)?
HEX: #899BB3 | RGB: rgb(137, 155, 179) | CMYK: 23%, 13%, 0%, 30% | HSV: 214°, 23%, 70%. Copy any format from the conversion table above.
What colors go well with #899BB3?
The complementary color is HSL(35, 22%, 62%). For a triadic harmony, use hues 215°, 335°, and 95°. For analogous combinations, try hues 185° and 245°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(215, 22%, 62%) in CSS?
As HSL: color: hsl(215, 22%, 62%); — As HEX: color: #899BB3; — As RGB: color: rgb(137, 155, 179); — Tailwind CSS: bg-[hsl(215,22%,62%)] — CSS variable: --color-primary: hsl(215, 22%, 62%);