HSL(261, 77%, 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(261,77%,4%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 77%, 4%) | color: hsl(261, 77%, 4%) | |
| HEX | #080212 | color: #080212 | |
| RGB | rgb(8, 2, 18) | color: rgb(8, 2, 18) | |
| CMYK | cmyk(56%, 89%, 0%, 93%) | — | |
| HSV | hsv(263, 89%, 7%) | — | |
| HWB | hwb(263 1% 93%) | color: hwb(263 1% 93%) | |
| OKLCH | oklch(0.1165 0.043 302.53) | color: oklch(0.1165 0.043 302.53) | |
| Lab | lab(1.25 4.06 -6.23) | color: lab(1.25 4.06 -6.23) | |
| LCH | lch(1.25 7.44 303.09) | color: lch(1.25 7.44 303.09) |
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)
#05050E — rgb(5, 5, 14)
Deuteranopia (Green-blind)
#06060D — rgb(6, 6, 13)
Tritanopia (Blue-blind)
#080B0A — rgb(8, 11, 10)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 77%, 4%);
text
color: hsl(261, 77%, 4%);
border
border: 2px solid hsl(261, 77%, 4%);
gradient light
background: linear-gradient(to right, hsl(261, 77%, 24%), hsl(261, 77%, 4%));
gradient dark
background: linear-gradient(to right, hsl(261, 77%, 4%), hsl(261, 77%, 0%))
hex
background-color: #080212;
tailwind
bg-[hsl(261,77%,4%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 77%, 4%, 0.4);
css variable
--color-primary: hsl(261, 77%, 4%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 77%, 4%)?
HEX: #080212 | RGB: rgb(8, 2, 18) | CMYK: 56%, 89%, 0%, 93% | HSV: 263°, 89%, 7%. Copy any format from the conversion table above.
What colors go well with #080212?
The complementary color is HSL(81, 77%, 4%). For a triadic harmony, use hues 261°, 21°, and 141°. For analogous combinations, try hues 231° and 291°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(261, 77%, 4%) in CSS?
As HSL: color: hsl(261, 77%, 4%); — As HEX: color: #080212; — As RGB: color: rgb(8, 2, 18); — Tailwind CSS: bg-[hsl(261,77%,4%)] — CSS variable: --color-primary: hsl(261, 77%, 4%);