HSL(211, 25%, 17%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(211,25%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(211, 25%, 17%) | color: hsl(211, 25%, 17%) | |
| HEX | #212B36 | color: #212B36 | |
| RGB | rgb(33, 43, 54) | color: rgb(33, 43, 54) | |
| CMYK | cmyk(39%, 20%, 0%, 79%) | — | |
| HSV | hsv(211, 39%, 21%) | — | |
| HWB | hwb(211 13% 79%) | color: hwb(211 13% 79%) | |
| OKLCH | oklch(0.2846 0.0246 251.11) | color: oklch(0.2846 0.0246 251.11) | |
| Lab | lab(17.07 -1 -8.47) | color: lab(17.07 -1 -8.47) | |
| LCH | lch(17.07 8.53 263.27) | color: lch(17.07 8.53 263.27) |
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)
#252533 — rgb(37, 37, 51)
Deuteranopia (Green-blind)
#252433 — rgb(37, 36, 51)
Tritanopia (Blue-blind)
#223131 — rgb(34, 49, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(211, 25%, 17%);
text
color: hsl(211, 25%, 17%);
border
border: 2px solid hsl(211, 25%, 17%);
gradient light
background: linear-gradient(to right, hsl(211, 25%, 37%), hsl(211, 25%, 17%));
gradient dark
background: linear-gradient(to right, hsl(211, 25%, 17%), hsl(211, 25%, 0%))
hex
background-color: #212B36;
tailwind
bg-[hsl(211,25%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(211, 25%, 17%, 0.4);
css variable
--color-primary: hsl(211, 25%, 17%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(211, 25%, 17%)?
HEX: #212B36 | RGB: rgb(33, 43, 54) | CMYK: 39%, 20%, 0%, 79% | HSV: 211°, 39%, 21%. Copy any format from the conversion table above.
What colors go well with #212B36?
The complementary color is HSL(31, 25%, 17%). 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, 25%, 17%) in CSS?
As HSL: color: hsl(211, 25%, 17%); — As HEX: color: #212B36; — As RGB: color: rgb(33, 43, 54); — Tailwind CSS: bg-[hsl(211,25%,17%)] — CSS variable: --color-primary: hsl(211, 25%, 17%);