HSL(251, 98%, 5%)
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,98%,5%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 98%, 5%) | color: hsl(251, 98%, 5%) | |
| HEX | #050019 | color: #050019 | |
| RGB | rgb(5, 0, 25) | color: rgb(5, 0, 25) | |
| CMYK | cmyk(80%, 100%, 0%, 90%) | — | |
| HSV | hsv(252, 100%, 10%) | — | |
| HWB | hwb(252 0% 90%) | color: hwb(252 0% 90%) | |
| OKLCH | oklch(0.1092 0.0626 288.03) | color: oklch(0.1092 0.0626 288.03) | |
| Lab | lab(0.93 5.76 -11.66) | color: lab(0.93 5.76 -11.66) | |
| LCH | lch(0.93 13.01 296.29) | color: lch(0.93 13.01 296.29) |
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)
#030313 — rgb(3, 3, 19)
Deuteranopia (Green-blind)
#030412 — rgb(3, 4, 18)
Tritanopia (Blue-blind)
#050E0D — rgb(5, 14, 13)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 98%, 5%);
text
color: hsl(251, 98%, 5%);
border
border: 2px solid hsl(251, 98%, 5%);
gradient light
background: linear-gradient(to right, hsl(251, 98%, 25%), hsl(251, 98%, 5%));
gradient dark
background: linear-gradient(to right, hsl(251, 98%, 5%), hsl(251, 98%, 0%))
hex
background-color: #050019;
tailwind
bg-[hsl(251,98%,5%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 98%, 5%, 0.4);
css variable
--color-primary: hsl(251, 98%, 5%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 98%, 5%)?
HEX: #050019 | RGB: rgb(5, 0, 25) | CMYK: 80%, 100%, 0%, 90% | HSV: 252°, 100%, 10%. Copy any format from the conversion table above.
What colors go well with #050019?
The complementary color is HSL(71, 98%, 5%). 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, 98%, 5%) in CSS?
As HSL: color: hsl(251, 98%, 5%); — As HEX: color: #050019; — As RGB: color: rgb(5, 0, 25); — Tailwind CSS: bg-[hsl(251,98%,5%)] — CSS variable: --color-primary: hsl(251, 98%, 5%);