HSL(212, 21%, 44%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(212,21%,44%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(212, 21%, 44%) | color: hsl(212, 21%, 44%) | |
| HEX | #596F88 | color: #596F88 | |
| RGB | rgb(89, 111, 136) | color: rgb(89, 111, 136) | |
| CMYK | cmyk(35%, 18%, 0%, 47%) | — | |
| HSV | hsv(212, 35%, 53%) | — | |
| HWB | hwb(212 34% 47%) | color: hwb(212 34% 47%) | |
| OKLCH | oklch(0.5337 0.0474 251.93) | color: oklch(0.5337 0.0474 251.93) | |
| Lab | lab(46 -1.65 -16.36) | color: lab(46 -1.65 -16.36) | |
| LCH | lch(46 16.44 264.24) | color: lch(46 16.44 264.24) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#636382 — rgb(99, 99, 130)
Deuteranopia (Green-blind)
#616081 — rgb(97, 96, 129)
Tritanopia (Blue-blind)
#5A7D7C — rgb(90, 125, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(212, 21%, 44%);
text
color: hsl(212, 21%, 44%);
border
border: 2px solid hsl(212, 21%, 44%);
gradient light
background: linear-gradient(to right, hsl(212, 21%, 64%), hsl(212, 21%, 44%));
gradient dark
background: linear-gradient(to right, hsl(212, 21%, 44%), hsl(212, 21%, 24%))
hex
background-color: #596F88;
tailwind
bg-[hsl(212,21%,44%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(212, 21%, 44%, 0.4);
css variable
--color-primary: hsl(212, 21%, 44%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(212, 21%, 44%)?
HEX: #596F88 | RGB: rgb(89, 111, 136) | CMYK: 35%, 18%, 0%, 47% | HSV: 212°, 35%, 53%. Copy any format from the conversion table above.
What colors go well with #596F88?
The complementary color is HSL(32, 21%, 44%). 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, 21%, 44%) in CSS?
As HSL: color: hsl(212, 21%, 44%); — As HEX: color: #596F88; — As RGB: color: rgb(89, 111, 136); — Tailwind CSS: bg-[hsl(212,21%,44%)] — CSS variable: --color-primary: hsl(212, 21%, 44%);