HSL(257, 85%, 4%)
Very Dark Indigo — Indigo color
Adjust Color
Color Information
Color Name
Very Dark Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,85%,4%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 85%, 4%) | color: hsl(257, 85%, 4%) | |
| HEX | #060213 | color: #060213 | |
| RGB | rgb(6, 2, 19) | color: rgb(6, 2, 19) | |
| CMYK | cmyk(68%, 89%, 0%, 93%) | — | |
| HSV | hsv(254, 89%, 7%) | — | |
| HWB | hwb(254 1% 93%) | color: hwb(254 1% 93%) | |
| OKLCH | oklch(0.1138 0.0442 294.01) | color: oklch(0.1138 0.0442 294.01) | |
| Lab | lab(1.17 3.75 -6.99) | color: lab(1.17 3.75 -6.99) | |
| LCH | lch(1.17 7.93 298.21) | color: lch(1.17 7.93 298.21) |
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)
#04040F — rgb(4, 4, 15)
Deuteranopia (Green-blind)
#05050E — rgb(5, 5, 14)
Tritanopia (Blue-blind)
#060C0B — rgb(6, 12, 11)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 85%, 4%);
text
color: hsl(257, 85%, 4%);
border
border: 2px solid hsl(257, 85%, 4%);
gradient light
background: linear-gradient(to right, hsl(257, 85%, 24%), hsl(257, 85%, 4%));
gradient dark
background: linear-gradient(to right, hsl(257, 85%, 4%), hsl(257, 85%, 0%))
hex
background-color: #060213;
tailwind
bg-[hsl(257,85%,4%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 85%, 4%, 0.4);
css variable
--color-primary: hsl(257, 85%, 4%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 85%, 4%)?
HEX: #060213 | RGB: rgb(6, 2, 19) | CMYK: 68%, 89%, 0%, 93% | HSV: 254°, 89%, 7%. Copy any format from the conversion table above.
What colors go well with #060213?
The complementary color is HSL(77, 85%, 4%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(257, 85%, 4%) in CSS?
As HSL: color: hsl(257, 85%, 4%); — As HEX: color: #060213; — As RGB: color: rgb(6, 2, 19); — Tailwind CSS: bg-[hsl(257,85%,4%)] — CSS variable: --color-primary: hsl(257, 85%, 4%);