HSL(251, 66%, 3%)
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,66%,3%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 66%, 3%) | color: hsl(251, 66%, 3%) | |
| HEX | #04030D | color: #04030D | |
| RGB | rgb(4, 3, 13) | color: rgb(4, 3, 13) | |
| CMYK | cmyk(69%, 77%, 0%, 95%) | — | |
| HSV | hsv(246, 77%, 5%) | — | |
| HWB | hwb(246 1% 95%) | color: hwb(246 1% 95%) | |
| OKLCH | oklch(0.1086 0.0282 287.55) | color: oklch(0.1086 0.0282 287.55) | |
| Lab | lab(1.08 1.69 -3.79) | color: lab(1.08 1.69 -3.79) | |
| LCH | lch(1.08 4.15 294.03) | color: lch(1.08 4.15 294.03) |
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)
#04040B — rgb(4, 4, 11)
Deuteranopia (Green-blind)
#04040A — rgb(4, 4, 10)
Tritanopia (Blue-blind)
#040908 — rgb(4, 9, 8)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 66%, 3%);
text
color: hsl(251, 66%, 3%);
border
border: 2px solid hsl(251, 66%, 3%);
gradient light
background: linear-gradient(to right, hsl(251, 66%, 23%), hsl(251, 66%, 3%));
gradient dark
background: linear-gradient(to right, hsl(251, 66%, 3%), hsl(251, 66%, 0%))
hex
background-color: #04030D;
tailwind
bg-[hsl(251,66%,3%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 66%, 3%, 0.4);
css variable
--color-primary: hsl(251, 66%, 3%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 66%, 3%)?
HEX: #04030D | RGB: rgb(4, 3, 13) | CMYK: 69%, 77%, 0%, 95% | HSV: 246°, 77%, 5%. Copy any format from the conversion table above.
What colors go well with #04030D?
The complementary color is HSL(71, 66%, 3%). 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, 66%, 3%) in CSS?
As HSL: color: hsl(251, 66%, 3%); — As HEX: color: #04030D; — As RGB: color: rgb(4, 3, 13); — Tailwind CSS: bg-[hsl(251,66%,3%)] — CSS variable: --color-primary: hsl(251, 66%, 3%);