HSL(255, 90%, 3%)
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(255,90%,3%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(255, 90%, 3%) | color: hsl(255, 90%, 3%) | |
| HEX | #04010F | color: #04010F | |
| RGB | rgb(4, 1, 15) | color: rgb(4, 1, 15) | |
| CMYK | cmyk(73%, 93%, 0%, 94%) | — | |
| HSV | hsv(253, 93%, 6%) | — | |
| HWB | hwb(253 0% 94%) | color: hwb(253 0% 94%) | |
| OKLCH | oklch(0.0985 0.0426 293.6) | color: oklch(0.0985 0.0426 293.6) | |
| Lab | lab(0.74 2.83 -5.3) | color: lab(0.74 2.83 -5.3) | |
| LCH | lch(0.74 6.01 298.1) | color: lch(0.74 6.01 298.1) |
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)
#03030C — rgb(3, 3, 12)
Deuteranopia (Green-blind)
#03030B — rgb(3, 3, 11)
Tritanopia (Blue-blind)
#040908 — rgb(4, 9, 8)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(255, 90%, 3%);
text
color: hsl(255, 90%, 3%);
border
border: 2px solid hsl(255, 90%, 3%);
gradient light
background: linear-gradient(to right, hsl(255, 90%, 23%), hsl(255, 90%, 3%));
gradient dark
background: linear-gradient(to right, hsl(255, 90%, 3%), hsl(255, 90%, 0%))
hex
background-color: #04010F;
tailwind
bg-[hsl(255,90%,3%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(255, 90%, 3%, 0.4);
css variable
--color-primary: hsl(255, 90%, 3%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(255, 90%, 3%)?
HEX: #04010F | RGB: rgb(4, 1, 15) | CMYK: 73%, 93%, 0%, 94% | HSV: 253°, 93%, 6%. Copy any format from the conversion table above.
What colors go well with #04010F?
The complementary color is HSL(75, 90%, 3%). For a triadic harmony, use hues 255°, 15°, and 135°. For analogous combinations, try hues 225° and 285°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(255, 90%, 3%) in CSS?
As HSL: color: hsl(255, 90%, 3%); — As HEX: color: #04010F; — As RGB: color: rgb(4, 1, 15); — Tailwind CSS: bg-[hsl(255,90%,3%)] — CSS variable: --color-primary: hsl(255, 90%, 3%);