HSL(237, 32%, 17%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,32%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 32%, 17%) | color: hsl(237, 32%, 17%) | |
| HEX | #1D1F39 | color: #1D1F39 | |
| RGB | rgb(29, 31, 57) | color: rgb(29, 31, 57) | |
| CMYK | cmyk(49%, 46%, 0%, 78%) | — | |
| HSV | hsv(236, 49%, 22%) | — | |
| HWB | hwb(236 11% 78%) | color: hwb(236 11% 78%) | |
| OKLCH | oklch(0.2514 0.049 278.91) | color: oklch(0.2514 0.049 278.91) | |
| Lab | lab(12.84 7.35 -17.18) | color: lab(12.84 7.35 -17.18) | |
| LCH | lch(12.84 18.69 293.16) | color: lch(12.84 18.69 293.16) |
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)
#1E1E33 — rgb(30, 30, 51)
Deuteranopia (Green-blind)
#1E1E31 — rgb(30, 30, 49)
Tritanopia (Blue-blind)
#1D2E2D — rgb(29, 46, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 32%, 17%);
text
color: hsl(237, 32%, 17%);
border
border: 2px solid hsl(237, 32%, 17%);
gradient light
background: linear-gradient(to right, hsl(237, 32%, 37%), hsl(237, 32%, 17%));
gradient dark
background: linear-gradient(to right, hsl(237, 32%, 17%), hsl(237, 32%, 0%))
hex
background-color: #1D1F39;
tailwind
bg-[hsl(237,32%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 32%, 17%, 0.4);
css variable
--color-primary: hsl(237, 32%, 17%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 32%, 17%)?
HEX: #1D1F39 | RGB: rgb(29, 31, 57) | CMYK: 49%, 46%, 0%, 78% | HSV: 236°, 49%, 22%. Copy any format from the conversion table above.
What colors go well with #1D1F39?
The complementary color is HSL(57, 32%, 17%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 32%, 17%) in CSS?
As HSL: color: hsl(237, 32%, 17%); — As HEX: color: #1D1F39; — As RGB: color: rgb(29, 31, 57); — Tailwind CSS: bg-[hsl(237,32%,17%)] — CSS variable: --color-primary: hsl(237, 32%, 17%);