HSL(235, 22%, 62%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(235,22%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(235, 22%, 62%) | color: hsl(235, 22%, 62%) | |
| HEX | #898CB3 | color: #898CB3 | |
| RGB | rgb(137, 140, 179) | color: rgb(137, 140, 179) | |
| CMYK | cmyk(23%, 22%, 0%, 30%) | — | |
| HSV | hsv(236, 23%, 70%) | — | |
| HWB | hwb(236 54% 30%) | color: hwb(236 54% 30%) | |
| OKLCH | oklch(0.6517 0.0581 281.21) | color: oklch(0.6517 0.0581 281.21) | |
| Lab | lab(59.28 7.54 -20.77) | color: lab(59.28 7.54 -20.77) | |
| LCH | lch(59.28 22.1 289.95) | color: lch(59.28 22.1 289.95) |
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)
#8A8AAA — rgb(138, 138, 170)
Deuteranopia (Green-blind)
#8A8AA7 — rgb(138, 138, 167)
Tritanopia (Blue-blind)
#89A2A0 — rgb(137, 162, 160)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(235, 22%, 62%);
text
color: hsl(235, 22%, 62%);
border
border: 2px solid hsl(235, 22%, 62%);
gradient light
background: linear-gradient(to right, hsl(235, 22%, 82%), hsl(235, 22%, 62%));
gradient dark
background: linear-gradient(to right, hsl(235, 22%, 62%), hsl(235, 22%, 42%))
hex
background-color: #898CB3;
tailwind
bg-[hsl(235,22%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(235, 22%, 62%, 0.4);
css variable
--color-primary: hsl(235, 22%, 62%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(235, 22%, 62%)?
HEX: #898CB3 | RGB: rgb(137, 140, 179) | CMYK: 23%, 22%, 0%, 30% | HSV: 236°, 23%, 70%. Copy any format from the conversion table above.
What colors go well with #898CB3?
The complementary color is HSL(55, 22%, 62%). For a triadic harmony, use hues 235°, 355°, and 115°. For analogous combinations, try hues 205° and 265°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(235, 22%, 62%) in CSS?
As HSL: color: hsl(235, 22%, 62%); — As HEX: color: #898CB3; — As RGB: color: rgb(137, 140, 179); — Tailwind CSS: bg-[hsl(235,22%,62%)] — CSS variable: --color-primary: hsl(235, 22%, 62%);