HSL(211, 39%, 24%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(211,39%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(211, 39%, 24%) | color: hsl(211, 39%, 24%) | |
| HEX | #253C55 | color: #253C55 | |
| RGB | rgb(37, 60, 85) | color: rgb(37, 60, 85) | |
| CMYK | cmyk(56%, 29%, 0%, 67%) | — | |
| HSV | hsv(211, 56%, 33%) | — | |
| HWB | hwb(211 15% 67%) | color: hwb(211 15% 67%) | |
| OKLCH | oklch(0.3492 0.0527 251.45) | color: oklch(0.3492 0.0527 251.45) | |
| Lab | lab(24.58 -0.73 -17.82) | color: lab(24.58 -0.73 -17.82) | |
| LCH | lch(24.58 17.83 267.65) | color: lch(24.58 17.83 267.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#2F2F4F — rgb(47, 47, 79)
Deuteranopia (Green-blind)
#2E2C4E — rgb(46, 44, 78)
Tritanopia (Blue-blind)
#264A49 — rgb(38, 74, 73)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(211, 39%, 24%);
text
color: hsl(211, 39%, 24%);
border
border: 2px solid hsl(211, 39%, 24%);
gradient light
background: linear-gradient(to right, hsl(211, 39%, 44%), hsl(211, 39%, 24%));
gradient dark
background: linear-gradient(to right, hsl(211, 39%, 24%), hsl(211, 39%, 4%))
hex
background-color: #253C55;
tailwind
bg-[hsl(211,39%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(211, 39%, 24%, 0.4);
css variable
--color-primary: hsl(211, 39%, 24%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(211, 39%, 24%)?
HEX: #253C55 | RGB: rgb(37, 60, 85) | CMYK: 56%, 29%, 0%, 67% | HSV: 211°, 56%, 33%. Copy any format from the conversion table above.
What colors go well with #253C55?
The complementary color is HSL(31, 39%, 24%). For a triadic harmony, use hues 211°, 331°, and 91°. For analogous combinations, try hues 181° and 241°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(211, 39%, 24%) in CSS?
As HSL: color: hsl(211, 39%, 24%); — As HEX: color: #253C55; — As RGB: color: rgb(37, 60, 85); — Tailwind CSS: bg-[hsl(211,39%,24%)] — CSS variable: --color-primary: hsl(211, 39%, 24%);