HSL(257, 50%, 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,50%,4%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 50%, 4%) | color: hsl(257, 50%, 4%) | |
| HEX | #08050F | color: #08050F | |
| RGB | rgb(8, 5, 15) | color: rgb(8, 5, 15) | |
| CMYK | cmyk(47%, 67%, 0%, 94%) | — | |
| HSV | hsv(258, 67%, 6%) | — | |
| HWB | hwb(258 2% 94%) | color: hwb(258 2% 94%) | |
| OKLCH | oklch(0.1271 0.0247 299.13) | color: oklch(0.1271 0.0247 299.13) | |
| Lab | lab(1.76 2.28 -3.79) | color: lab(1.76 2.28 -3.79) | |
| LCH | lch(1.76 4.42 301.03) | color: lch(1.76 4.42 301.03) |
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)
#07070D — rgb(7, 7, 13)
Deuteranopia (Green-blind)
#07070C — rgb(7, 7, 12)
Tritanopia (Blue-blind)
#080B0A — rgb(8, 11, 10)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 50%, 4%);
text
color: hsl(257, 50%, 4%);
border
border: 2px solid hsl(257, 50%, 4%);
gradient light
background: linear-gradient(to right, hsl(257, 50%, 24%), hsl(257, 50%, 4%));
gradient dark
background: linear-gradient(to right, hsl(257, 50%, 4%), hsl(257, 50%, 0%))
hex
background-color: #08050F;
tailwind
bg-[hsl(257,50%,4%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 50%, 4%, 0.4);
css variable
--color-primary: hsl(257, 50%, 4%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 50%, 4%)?
HEX: #08050F | RGB: rgb(8, 5, 15) | CMYK: 47%, 67%, 0%, 94% | HSV: 258°, 67%, 6%. Copy any format from the conversion table above.
What colors go well with #08050F?
The complementary color is HSL(77, 50%, 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, 50%, 4%) in CSS?
As HSL: color: hsl(257, 50%, 4%); — As HEX: color: #08050F; — As RGB: color: rgb(8, 5, 15); — Tailwind CSS: bg-[hsl(257,50%,4%)] — CSS variable: --color-primary: hsl(257, 50%, 4%);