HSL(246, 97%, 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(246,97%,4%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(246, 97%, 4%) | color: hsl(246, 97%, 4%) | |
| HEX | #020014 | color: #020014 | |
| RGB | rgb(2, 0, 20) | color: rgb(2, 0, 20) | |
| CMYK | cmyk(90%, 100%, 0%, 92%) | — | |
| HSV | hsv(246, 100%, 8%) | — | |
| HWB | hwb(246 0% 92%) | color: hwb(246 0% 92%) | |
| OKLCH | oklch(0.0932 0.0567 279.36) | color: oklch(0.0932 0.0567 279.36) | |
| Lab | lab(0.57 3.73 -8.54) | color: lab(0.57 3.73 -8.54) | |
| LCH | lch(0.57 9.32 293.59) | color: lch(0.57 9.32 293.59) |
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)
#01010F — rgb(1, 1, 15)
Deuteranopia (Green-blind)
#01010E — rgb(1, 1, 14)
Tritanopia (Blue-blind)
#020B0B — rgb(2, 11, 11)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(246, 97%, 4%);
text
color: hsl(246, 97%, 4%);
border
border: 2px solid hsl(246, 97%, 4%);
gradient light
background: linear-gradient(to right, hsl(246, 97%, 24%), hsl(246, 97%, 4%));
gradient dark
background: linear-gradient(to right, hsl(246, 97%, 4%), hsl(246, 97%, 0%))
hex
background-color: #020014;
tailwind
bg-[hsl(246,97%,4%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(246, 97%, 4%, 0.4);
css variable
--color-primary: hsl(246, 97%, 4%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(246, 97%, 4%)?
HEX: #020014 | RGB: rgb(2, 0, 20) | CMYK: 90%, 100%, 0%, 92% | HSV: 246°, 100%, 8%. Copy any format from the conversion table above.
What colors go well with #020014?
The complementary color is HSL(66, 97%, 4%). For a triadic harmony, use hues 246°, 6°, and 126°. For analogous combinations, try hues 216° and 276°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(246, 97%, 4%) in CSS?
As HSL: color: hsl(246, 97%, 4%); — As HEX: color: #020014; — As RGB: color: rgb(2, 0, 20); — Tailwind CSS: bg-[hsl(246,97%,4%)] — CSS variable: --color-primary: hsl(246, 97%, 4%);