HSL(262, 75%, 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,75%,5%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 75%, 5%) | color: hsl(262, 75%, 5%) | |
| HEX | #0A0316 | color: #0A0316 | |
| RGB | rgb(10, 3, 22) | color: rgb(10, 3, 22) | |
| CMYK | cmyk(55%, 86%, 0%, 91%) | — | |
| HSV | hsv(262, 86%, 9%) | — | |
| HWB | hwb(262 1% 91%) | color: hwb(262 1% 91%) | |
| OKLCH | oklch(0.1285 0.0457 300.34) | color: oklch(0.1285 0.0457 300.34) | |
| Lab | lab(1.69 5.09 -8.22) | color: lab(1.69 5.09 -8.22) | |
| LCH | lch(1.69 9.67 301.77) | color: lch(1.69 9.67 301.77) |
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)
#070711 — rgb(7, 7, 17)
Deuteranopia (Green-blind)
#070810 — rgb(7, 8, 16)
Tritanopia (Blue-blind)
#0A0E0D — rgb(10, 14, 13)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 75%, 5%);
text
color: hsl(262, 75%, 5%);
border
border: 2px solid hsl(262, 75%, 5%);
gradient light
background: linear-gradient(to right, hsl(262, 75%, 25%), hsl(262, 75%, 5%));
gradient dark
background: linear-gradient(to right, hsl(262, 75%, 5%), hsl(262, 75%, 0%))
hex
background-color: #0A0316;
tailwind
bg-[hsl(262,75%,5%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 75%, 5%, 0.4);
css variable
--color-primary: hsl(262, 75%, 5%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 75%, 5%)?
HEX: #0A0316 | RGB: rgb(10, 3, 22) | CMYK: 55%, 86%, 0%, 91% | HSV: 262°, 86%, 9%. Copy any format from the conversion table above.
What colors go well with #0A0316?
The complementary color is HSL(82, 75%, 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, 75%, 5%) in CSS?
As HSL: color: hsl(262, 75%, 5%); — As HEX: color: #0A0316; — As RGB: color: rgb(10, 3, 22); — Tailwind CSS: bg-[hsl(262,75%,5%)] — CSS variable: --color-primary: hsl(262, 75%, 5%);