HSL(252, 14%, 9%)
Very Dark Blue — Blue color
Adjust Color
Color Information
Color Name
Very Dark Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(252,14%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 14%, 9%) | color: hsl(252, 14%, 9%) | |
| HEX | #15141A | color: #15141A | |
| RGB | rgb(21, 20, 26) | color: rgb(21, 20, 26) | |
| CMYK | cmyk(19%, 23%, 0%, 90%) | — | |
| HSV | hsv(250, 23%, 10%) | — | |
| HWB | hwb(250 8% 90%) | color: hwb(250 8% 90%) | |
| OKLCH | oklch(0.1952 0.012 292.89) | color: oklch(0.1952 0.012 292.89) | |
| Lab | lab(6.63 1.96 -3.94) | color: lab(6.63 1.96 -3.94) | |
| LCH | lch(6.63 4.4 296.45) | color: lch(6.63 4.4 296.45) |
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)
#151519 — rgb(21, 21, 25)
Deuteranopia (Green-blind)
#151518 — rgb(21, 21, 24)
Tritanopia (Blue-blind)
#151717 — rgb(21, 23, 23)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 14%, 9%);
text
color: hsl(252, 14%, 9%);
border
border: 2px solid hsl(252, 14%, 9%);
gradient light
background: linear-gradient(to right, hsl(252, 14%, 29%), hsl(252, 14%, 9%));
gradient dark
background: linear-gradient(to right, hsl(252, 14%, 9%), hsl(252, 14%, 0%))
hex
background-color: #15141A;
tailwind
bg-[hsl(252,14%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 14%, 9%, 0.4);
css variable
--color-primary: hsl(252, 14%, 9%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 14%, 9%)?
HEX: #15141A | RGB: rgb(21, 20, 26) | CMYK: 19%, 23%, 0%, 90% | HSV: 250°, 23%, 10%. Copy any format from the conversion table above.
What colors go well with #15141A?
The complementary color is HSL(72, 14%, 9%). 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, 14%, 9%) in CSS?
As HSL: color: hsl(252, 14%, 9%); — As HEX: color: #15141A; — As RGB: color: rgb(21, 20, 26); — Tailwind CSS: bg-[hsl(252,14%,9%)] — CSS variable: --color-primary: hsl(252, 14%, 9%);