HSL(262, 80%, 5%)
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%,5%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 80%, 5%) | color: hsl(262, 80%, 5%) | |
| HEX | #0A0317 | color: #0A0317 | |
| RGB | rgb(10, 3, 23) | color: rgb(10, 3, 23) | |
| CMYK | cmyk(57%, 87%, 0%, 91%) | — | |
| HSV | hsv(261, 87%, 9%) | — | |
| HWB | hwb(261 1% 91%) | color: hwb(261 1% 91%) | |
| OKLCH | oklch(0.1295 0.0473 299.01) | color: oklch(0.1295 0.0473 299.01) | |
| Lab | lab(1.73 5.34 -8.9) | color: lab(1.73 5.34 -8.9) | |
| LCH | lch(1.73 10.38 300.96) | color: lch(1.73 10.38 300.96) |
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)
#070712 — rgb(7, 7, 18)
Deuteranopia (Green-blind)
#070811 — rgb(7, 8, 17)
Tritanopia (Blue-blind)
#0A0E0E — rgb(10, 14, 14)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 80%, 5%);
text
color: hsl(262, 80%, 5%);
border
border: 2px solid hsl(262, 80%, 5%);
gradient light
background: linear-gradient(to right, hsl(262, 80%, 25%), hsl(262, 80%, 5%));
gradient dark
background: linear-gradient(to right, hsl(262, 80%, 5%), hsl(262, 80%, 0%))
hex
background-color: #0A0317;
tailwind
bg-[hsl(262,80%,5%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 80%, 5%, 0.4);
css variable
--color-primary: hsl(262, 80%, 5%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 80%, 5%)?
HEX: #0A0317 | RGB: rgb(10, 3, 23) | CMYK: 57%, 87%, 0%, 91% | HSV: 261°, 87%, 9%. Copy any format from the conversion table above.
What colors go well with #0A0317?
The complementary color is HSL(82, 80%, 5%). 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%, 5%) in CSS?
As HSL: color: hsl(262, 80%, 5%); — As HEX: color: #0A0317; — As RGB: color: rgb(10, 3, 23); — Tailwind CSS: bg-[hsl(262,80%,5%)] — CSS variable: --color-primary: hsl(262, 80%, 5%);