HSL(252, 18%, 7%)
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,18%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 18%, 7%) | color: hsl(252, 18%, 7%) | |
| HEX | #100F15 | color: #100F15 | |
| RGB | rgb(16, 15, 21) | color: rgb(16, 15, 21) | |
| CMYK | cmyk(24%, 29%, 0%, 92%) | — | |
| HSV | hsv(250, 29%, 8%) | — | |
| HWB | hwb(250 6% 92%) | color: hwb(250 6% 92%) | |
| OKLCH | oklch(0.1725 0.0124 292.69) | color: oklch(0.1725 0.0124 292.69) | |
| Lab | lab(4.57 1.6 -3.27) | color: lab(4.57 1.6 -3.27) | |
| LCH | lch(4.57 3.64 296.07) | color: lch(4.57 3.64 296.07) |
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)
#101014 — rgb(16, 16, 20)
Deuteranopia (Green-blind)
#101013 — rgb(16, 16, 19)
Tritanopia (Blue-blind)
#101212 — rgb(16, 18, 18)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 18%, 7%);
text
color: hsl(252, 18%, 7%);
border
border: 2px solid hsl(252, 18%, 7%);
gradient light
background: linear-gradient(to right, hsl(252, 18%, 27%), hsl(252, 18%, 7%));
gradient dark
background: linear-gradient(to right, hsl(252, 18%, 7%), hsl(252, 18%, 0%))
hex
background-color: #100F15;
tailwind
bg-[hsl(252,18%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 18%, 7%, 0.4);
css variable
--color-primary: hsl(252, 18%, 7%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 18%, 7%)?
HEX: #100F15 | RGB: rgb(16, 15, 21) | CMYK: 24%, 29%, 0%, 92% | HSV: 250°, 29%, 8%. Copy any format from the conversion table above.
What colors go well with #100F15?
The complementary color is HSL(72, 18%, 7%). 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, 18%, 7%) in CSS?
As HSL: color: hsl(252, 18%, 7%); — As HEX: color: #100F15; — As RGB: color: rgb(16, 15, 21); — Tailwind CSS: bg-[hsl(252,18%,7%)] — CSS variable: --color-primary: hsl(252, 18%, 7%);