HSL(232, 77%, 6%)
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(232,77%,6%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 77%, 6%) | color: hsl(232, 77%, 6%) | |
| HEX | #04071B | color: #04071B | |
| RGB | rgb(4, 7, 27) | color: rgb(4, 7, 27) | |
| CMYK | cmyk(85%, 74%, 0%, 89%) | — | |
| HSV | hsv(232, 85%, 11%) | — | |
| HWB | hwb(232 2% 89%) | color: hwb(232 2% 89%) | |
| OKLCH | oklch(0.1395 0.0443 270.63) | color: oklch(0.1395 0.0443 270.63) | |
| Lab | lab(2.32 3.26 -11.24) | color: lab(2.32 3.26 -11.24) | |
| LCH | lch(2.32 11.7 286.17) | color: lch(2.32 11.7 286.17) |
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)
#050516 — rgb(5, 5, 22)
Deuteranopia (Green-blind)
#050515 — rgb(5, 5, 21)
Tritanopia (Blue-blind)
#041212 — rgb(4, 18, 18)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 77%, 6%);
text
color: hsl(232, 77%, 6%);
border
border: 2px solid hsl(232, 77%, 6%);
gradient light
background: linear-gradient(to right, hsl(232, 77%, 26%), hsl(232, 77%, 6%));
gradient dark
background: linear-gradient(to right, hsl(232, 77%, 6%), hsl(232, 77%, 0%))
hex
background-color: #04071B;
tailwind
bg-[hsl(232,77%,6%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 77%, 6%, 0.4);
css variable
--color-primary: hsl(232, 77%, 6%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 77%, 6%)?
HEX: #04071B | RGB: rgb(4, 7, 27) | CMYK: 85%, 74%, 0%, 89% | HSV: 232°, 85%, 11%. Copy any format from the conversion table above.
What colors go well with #04071B?
The complementary color is HSL(52, 77%, 6%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 77%, 6%) in CSS?
As HSL: color: hsl(232, 77%, 6%); — As HEX: color: #04071B; — As RGB: color: rgb(4, 7, 27); — Tailwind CSS: bg-[hsl(232,77%,6%)] — CSS variable: --color-primary: hsl(232, 77%, 6%);