HSL(211, 25%, 15%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(211,25%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(211, 25%, 15%) | color: hsl(211, 25%, 15%) | |
| HEX | #1D2630 | color: #1D2630 | |
| RGB | rgb(29, 38, 48) | color: rgb(29, 38, 48) | |
| CMYK | cmyk(40%, 21%, 0%, 81%) | — | |
| HSV | hsv(212, 40%, 19%) | — | |
| HWB | hwb(212 11% 81%) | color: hwb(212 11% 81%) | |
| OKLCH | oklch(0.2646 0.0227 251.36) | color: oklch(0.2646 0.0227 251.36) | |
| Lab | lab(14.74 -0.89 -7.83) | color: lab(14.74 -0.89 -7.83) | |
| LCH | lch(14.74 7.88 263.52) | color: lch(14.74 7.88 263.52) |
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)
#21212E — rgb(33, 33, 46)
Deuteranopia (Green-blind)
#20202D — rgb(32, 32, 45)
Tritanopia (Blue-blind)
#1D2C2B — rgb(29, 44, 43)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(211, 25%, 15%);
text
color: hsl(211, 25%, 15%);
border
border: 2px solid hsl(211, 25%, 15%);
gradient light
background: linear-gradient(to right, hsl(211, 25%, 35%), hsl(211, 25%, 15%));
gradient dark
background: linear-gradient(to right, hsl(211, 25%, 15%), hsl(211, 25%, 0%))
hex
background-color: #1D2630;
tailwind
bg-[hsl(211,25%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(211, 25%, 15%, 0.4);
css variable
--color-primary: hsl(211, 25%, 15%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(211, 25%, 15%)?
HEX: #1D2630 | RGB: rgb(29, 38, 48) | CMYK: 40%, 21%, 0%, 81% | HSV: 212°, 40%, 19%. Copy any format from the conversion table above.
What colors go well with #1D2630?
The complementary color is HSL(31, 25%, 15%). 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%, 15%) in CSS?
As HSL: color: hsl(211, 25%, 15%); — As HEX: color: #1D2630; — As RGB: color: rgb(29, 38, 48); — Tailwind CSS: bg-[hsl(211,25%,15%)] — CSS variable: --color-primary: hsl(211, 25%, 15%);