HSL(211, 64%, 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(211,64%,4%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(211, 64%, 4%) | color: hsl(211, 64%, 4%) | |
| HEX | #040A11 | color: #040A11 | |
| RGB | rgb(4, 10, 17) | color: rgb(4, 10, 17) | |
| CMYK | cmyk(76%, 41%, 0%, 93%) | — | |
| HSV | hsv(212, 76%, 7%) | — | |
| HWB | hwb(212 2% 93%) | color: hwb(212 2% 93%) | |
| OKLCH | oklch(0.1411 0.0195 247.3) | color: oklch(0.1411 0.0195 247.3) | |
| Lab | lab(2.56 -0.39 -3.76) | color: lab(2.56 -0.39 -3.76) | |
| LCH | lch(2.56 3.78 264.08) | color: lch(2.56 3.78 264.08) |
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)
#07070F — rgb(7, 7, 15)
Deuteranopia (Green-blind)
#06060F — rgb(6, 6, 15)
Tritanopia (Blue-blind)
#040E0E — rgb(4, 14, 14)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(211, 64%, 4%);
text
color: hsl(211, 64%, 4%);
border
border: 2px solid hsl(211, 64%, 4%);
gradient light
background: linear-gradient(to right, hsl(211, 64%, 24%), hsl(211, 64%, 4%));
gradient dark
background: linear-gradient(to right, hsl(211, 64%, 4%), hsl(211, 64%, 0%))
hex
background-color: #040A11;
tailwind
bg-[hsl(211,64%,4%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(211, 64%, 4%, 0.4);
css variable
--color-primary: hsl(211, 64%, 4%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(211, 64%, 4%)?
HEX: #040A11 | RGB: rgb(4, 10, 17) | CMYK: 76%, 41%, 0%, 93% | HSV: 212°, 76%, 7%. Copy any format from the conversion table above.
What colors go well with #040A11?
The complementary color is HSL(31, 64%, 4%). For a triadic harmony, use hues 211°, 331°, and 91°. For analogous combinations, try hues 181° and 241°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(211, 64%, 4%) in CSS?
As HSL: color: hsl(211, 64%, 4%); — As HEX: color: #040A11; — As RGB: color: rgb(4, 10, 17); — Tailwind CSS: bg-[hsl(211,64%,4%)] — CSS variable: --color-primary: hsl(211, 64%, 4%);