HSL(231, 48%, 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(231,48%,4%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 48%, 4%) | color: hsl(231, 48%, 4%) | |
| HEX | #05070F | color: #05070F | |
| RGB | rgb(5, 7, 15) | color: rgb(5, 7, 15) | |
| CMYK | cmyk(67%, 53%, 0%, 94%) | — | |
| HSV | hsv(228, 67%, 6%) | — | |
| HWB | hwb(228 2% 94%) | color: hwb(228 2% 94%) | |
| OKLCH | oklch(0.1304 0.0192 269.8) | color: oklch(0.1304 0.0192 269.8) | |
| Lab | lab(1.98 0.69 -3.49) | color: lab(1.98 0.69 -3.49) | |
| LCH | lch(1.98 3.56 281.18) | color: lch(1.98 3.56 281.18) |
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)
#06060D — rgb(6, 6, 13)
Deuteranopia (Green-blind)
#06060D — rgb(6, 6, 13)
Tritanopia (Blue-blind)
#050C0B — rgb(5, 12, 11)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 48%, 4%);
text
color: hsl(231, 48%, 4%);
border
border: 2px solid hsl(231, 48%, 4%);
gradient light
background: linear-gradient(to right, hsl(231, 48%, 24%), hsl(231, 48%, 4%));
gradient dark
background: linear-gradient(to right, hsl(231, 48%, 4%), hsl(231, 48%, 0%))
hex
background-color: #05070F;
tailwind
bg-[hsl(231,48%,4%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 48%, 4%, 0.4);
css variable
--color-primary: hsl(231, 48%, 4%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 48%, 4%)?
HEX: #05070F | RGB: rgb(5, 7, 15) | CMYK: 67%, 53%, 0%, 94% | HSV: 228°, 67%, 6%. Copy any format from the conversion table above.
What colors go well with #05070F?
The complementary color is HSL(51, 48%, 4%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 48%, 4%) in CSS?
As HSL: color: hsl(231, 48%, 4%); — As HEX: color: #05070F; — As RGB: color: rgb(5, 7, 15); — Tailwind CSS: bg-[hsl(231,48%,4%)] — CSS variable: --color-primary: hsl(231, 48%, 4%);