HSL(199, 50%, 4%)
Very Dark Blue — Blue color
Adjust Color
Color Information
Color Name
Very Dark Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(199,50%,4%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(199, 50%, 4%) | color: hsl(199, 50%, 4%) | |
| HEX | #050C0F | color: #050C0F | |
| RGB | rgb(5, 12, 15) | color: rgb(5, 12, 15) | |
| CMYK | cmyk(67%, 20%, 0%, 94%) | — | |
| HSV | hsv(198, 67%, 6%) | — | |
| HWB | hwb(198 2% 94%) | color: hwb(198 2% 94%) | |
| OKLCH | oklch(0.1478 0.014 223.5) | color: oklch(0.1478 0.014 223.5) | |
| Lab | lab(2.98 -1.36 -2.03) | color: lab(2.98 -1.36 -2.03) | |
| LCH | lch(2.98 2.44 236.18) | color: lch(2.98 2.44 236.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)
#08080E — rgb(8, 8, 14)
Deuteranopia (Green-blind)
#08070E — rgb(8, 7, 14)
Tritanopia (Blue-blind)
#050E0E — rgb(5, 14, 14)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(199, 50%, 4%);
text
color: hsl(199, 50%, 4%);
border
border: 2px solid hsl(199, 50%, 4%);
gradient light
background: linear-gradient(to right, hsl(199, 50%, 24%), hsl(199, 50%, 4%));
gradient dark
background: linear-gradient(to right, hsl(199, 50%, 4%), hsl(199, 50%, 0%))
hex
background-color: #050C0F;
tailwind
bg-[hsl(199,50%,4%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(199, 50%, 4%, 0.4);
css variable
--color-primary: hsl(199, 50%, 4%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(199, 50%, 4%)?
HEX: #050C0F | RGB: rgb(5, 12, 15) | CMYK: 67%, 20%, 0%, 94% | HSV: 198°, 67%, 6%. Copy any format from the conversion table above.
What colors go well with #050C0F?
The complementary color is HSL(19, 50%, 4%). For a triadic harmony, use hues 199°, 319°, and 79°. For analogous combinations, try hues 169° and 229°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(199, 50%, 4%) in CSS?
As HSL: color: hsl(199, 50%, 4%); — As HEX: color: #050C0F; — As RGB: color: rgb(5, 12, 15); — Tailwind CSS: bg-[hsl(199,50%,4%)] — CSS variable: --color-primary: hsl(199, 50%, 4%);