HSL(262, 80%, 7%)
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(262,80%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 80%, 7%) | color: hsl(262, 80%, 7%) | |
| HEX | #0E0420 | color: #0E0420 | |
| RGB | rgb(14, 4, 32) | color: rgb(14, 4, 32) | |
| CMYK | cmyk(56%, 88%, 0%, 87%) | — | |
| HSV | hsv(261, 88%, 13%) | — | |
| HWB | hwb(261 2% 87%) | color: hwb(261 2% 87%) | |
| OKLCH | oklch(0.1484 0.0589 296.46) | color: oklch(0.1484 0.0589 296.46) | |
| Lab | lab(2.57 8.8 -14.79) | color: lab(2.57 8.8 -14.79) | |
| LCH | lch(2.57 17.21 300.75) | color: lch(2.57 17.21 300.75) |
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)
#0A0A19 — rgb(10, 10, 25)
Deuteranopia (Green-blind)
#0A0B18 — rgb(10, 11, 24)
Tritanopia (Blue-blind)
#0E1413 — rgb(14, 20, 19)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 80%, 7%);
text
color: hsl(262, 80%, 7%);
border
border: 2px solid hsl(262, 80%, 7%);
gradient light
background: linear-gradient(to right, hsl(262, 80%, 27%), hsl(262, 80%, 7%));
gradient dark
background: linear-gradient(to right, hsl(262, 80%, 7%), hsl(262, 80%, 0%))
hex
background-color: #0E0420;
tailwind
bg-[hsl(262,80%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 80%, 7%, 0.4);
css variable
--color-primary: hsl(262, 80%, 7%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 80%, 7%)?
HEX: #0E0420 | RGB: rgb(14, 4, 32) | CMYK: 56%, 88%, 0%, 87% | HSV: 261°, 88%, 13%. Copy any format from the conversion table above.
What colors go well with #0E0420?
The complementary color is HSL(82, 80%, 7%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(262, 80%, 7%) in CSS?
As HSL: color: hsl(262, 80%, 7%); — As HEX: color: #0E0420; — As RGB: color: rgb(14, 4, 32); — Tailwind CSS: bg-[hsl(262,80%,7%)] — CSS variable: --color-primary: hsl(262, 80%, 7%);