HSL(212, 55%, 74%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(212,55%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(212, 55%, 74%) | color: hsl(212, 55%, 74%) | |
| HEX | #98BAE1 | color: #98BAE1 | |
| RGB | rgb(152, 186, 225) | color: rgb(152, 186, 225) | |
| CMYK | cmyk(32%, 17%, 0%, 12%) | — | |
| HSV | hsv(212, 32%, 88%) | — | |
| HWB | hwb(212 60% 12%) | color: hwb(212 60% 12%) | |
| OKLCH | oklch(0.7776 0.0671 252.15) | color: oklch(0.7776 0.0671 252.15) | |
| Lab | lab(74.34 -2.31 -23.21) | color: lab(74.34 -2.31 -23.21) | |
| LCH | lch(74.34 23.32 264.32) | color: lch(74.34 23.32 264.32) |
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)
#A7A7D8 — rgb(167, 167, 216)
Deuteranopia (Green-blind)
#A5A2D5 — rgb(165, 162, 213)
Tritanopia (Blue-blind)
#9AD0CE — rgb(154, 208, 206)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(212, 55%, 74%);
text
color: hsl(212, 55%, 74%);
border
border: 2px solid hsl(212, 55%, 74%);
gradient light
background: linear-gradient(to right, hsl(212, 55%, 94%), hsl(212, 55%, 74%));
gradient dark
background: linear-gradient(to right, hsl(212, 55%, 74%), hsl(212, 55%, 54%))
hex
background-color: #98BAE1;
tailwind
bg-[hsl(212,55%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(212, 55%, 74%, 0.4);
css variable
--color-primary: hsl(212, 55%, 74%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(212, 55%, 74%)?
HEX: #98BAE1 | RGB: rgb(152, 186, 225) | CMYK: 32%, 17%, 0%, 12% | HSV: 212°, 32%, 88%. Copy any format from the conversion table above.
What colors go well with #98BAE1?
The complementary color is HSL(32, 55%, 74%). For a triadic harmony, use hues 212°, 332°, and 92°. For analogous combinations, try hues 182° and 242°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(212, 55%, 74%) in CSS?
As HSL: color: hsl(212, 55%, 74%); — As HEX: color: #98BAE1; — As RGB: color: rgb(152, 186, 225); — Tailwind CSS: bg-[hsl(212,55%,74%)] — CSS variable: --color-primary: hsl(212, 55%, 74%);