HSL(252, 30%, 14%)
Very Dark Blue — Blue color
Adjust Color
Color Information
Color Name
Very Dark Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,30%,14%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 30%, 14%) | color: hsl(252, 30%, 14%) | |
| HEX | #1D192E | color: #1D192E | |
| RGB | rgb(29, 25, 46) | color: rgb(29, 25, 46) | |
| CMYK | cmyk(37%, 46%, 0%, 82%) | — | |
| HSV | hsv(251, 46%, 18%) | — | |
| HWB | hwb(251 10% 82%) | color: hwb(251 10% 82%) | |
| OKLCH | oklch(0.2291 0.0402 291.65) | color: oklch(0.2291 0.0402 291.65) | |
| Lab | lab(10.21 8.03 -13.39) | color: lab(10.21 8.03 -13.39) | |
| LCH | lch(10.21 15.61 300.95) | color: lch(10.21 15.61 300.95) |
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)
#1B1B29 — rgb(27, 27, 41)
Deuteranopia (Green-blind)
#1C1C28 — rgb(28, 28, 40)
Tritanopia (Blue-blind)
#1D2524 — rgb(29, 37, 36)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 30%, 14%);
text
color: hsl(252, 30%, 14%);
border
border: 2px solid hsl(252, 30%, 14%);
gradient light
background: linear-gradient(to right, hsl(252, 30%, 34%), hsl(252, 30%, 14%));
gradient dark
background: linear-gradient(to right, hsl(252, 30%, 14%), hsl(252, 30%, 0%))
hex
background-color: #1D192E;
tailwind
bg-[hsl(252,30%,14%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 30%, 14%, 0.4);
css variable
--color-primary: hsl(252, 30%, 14%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 30%, 14%)?
HEX: #1D192E | RGB: rgb(29, 25, 46) | CMYK: 37%, 46%, 0%, 82% | HSV: 251°, 46%, 18%. Copy any format from the conversion table above.
What colors go well with #1D192E?
The complementary color is HSL(72, 30%, 14%). For a triadic harmony, use hues 252°, 12°, and 132°. For analogous combinations, try hues 222° and 282°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(252, 30%, 14%) in CSS?
As HSL: color: hsl(252, 30%, 14%); — As HEX: color: #1D192E; — As RGB: color: rgb(29, 25, 46); — Tailwind CSS: bg-[hsl(252,30%,14%)] — CSS variable: --color-primary: hsl(252, 30%, 14%);