HSL(251, 37%, 4%)
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(251,37%,4%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 37%, 4%) | color: hsl(251, 37%, 4%) | |
| HEX | #08060E | color: #08060E | |
| RGB | rgb(8, 6, 14) | color: rgb(8, 6, 14) | |
| CMYK | cmyk(43%, 57%, 0%, 95%) | — | |
| HSV | hsv(255, 57%, 5%) | — | |
| HWB | hwb(255 2% 95%) | color: hwb(255 2% 95%) | |
| OKLCH | oklch(0.1304 0.0192 296.86) | color: oklch(0.1304 0.0192 296.86) | |
| Lab | lab(1.93 1.7 -3.02) | color: lab(1.93 1.7 -3.02) | |
| LCH | lch(1.93 3.47 299.38) | color: lch(1.93 3.47 299.38) |
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)
#07070C — rgb(7, 7, 12)
Deuteranopia (Green-blind)
#07070C — rgb(7, 7, 12)
Tritanopia (Blue-blind)
#080B0A — rgb(8, 11, 10)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 37%, 4%);
text
color: hsl(251, 37%, 4%);
border
border: 2px solid hsl(251, 37%, 4%);
gradient light
background: linear-gradient(to right, hsl(251, 37%, 24%), hsl(251, 37%, 4%));
gradient dark
background: linear-gradient(to right, hsl(251, 37%, 4%), hsl(251, 37%, 0%))
hex
background-color: #08060E;
tailwind
bg-[hsl(251,37%,4%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 37%, 4%, 0.4);
css variable
--color-primary: hsl(251, 37%, 4%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 37%, 4%)?
HEX: #08060E | RGB: rgb(8, 6, 14) | CMYK: 43%, 57%, 0%, 95% | HSV: 255°, 57%, 5%. Copy any format from the conversion table above.
What colors go well with #08060E?
The complementary color is HSL(71, 37%, 4%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 37%, 4%) in CSS?
As HSL: color: hsl(251, 37%, 4%); — As HEX: color: #08060E; — As RGB: color: rgb(8, 6, 14); — Tailwind CSS: bg-[hsl(251,37%,4%)] — CSS variable: --color-primary: hsl(251, 37%, 4%);