HSL(266, 30%, 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(266,30%,5%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 30%, 5%) | color: hsl(266, 30%, 5%) | |
| HEX | #0C0911 | color: #0C0911 | |
| RGB | rgb(12, 9, 17) | color: rgb(12, 9, 17) | |
| CMYK | cmyk(29%, 47%, 0%, 93%) | — | |
| HSV | hsv(263, 47%, 7%) | — | |
| HWB | hwb(263 4% 93%) | color: hwb(263 4% 93%) | |
| OKLCH | oklch(0.148 0.0177 301.57) | color: oklch(0.148 0.0177 301.57) | |
| Lab | lab(2.84 2.13 -3.3) | color: lab(2.84 2.13 -3.3) | |
| LCH | lch(2.84 3.93 302.84) | color: lch(2.84 3.93 302.84) |
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)
#0B0B0F — rgb(11, 11, 15)
Deuteranopia (Green-blind)
#0B0B0F — rgb(11, 11, 15)
Tritanopia (Blue-blind)
#0C0E0D — rgb(12, 14, 13)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 30%, 5%);
text
color: hsl(266, 30%, 5%);
border
border: 2px solid hsl(266, 30%, 5%);
gradient light
background: linear-gradient(to right, hsl(266, 30%, 25%), hsl(266, 30%, 5%));
gradient dark
background: linear-gradient(to right, hsl(266, 30%, 5%), hsl(266, 30%, 0%))
hex
background-color: #0C0911;
tailwind
bg-[hsl(266,30%,5%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 30%, 5%, 0.4);
css variable
--color-primary: hsl(266, 30%, 5%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 30%, 5%)?
HEX: #0C0911 | RGB: rgb(12, 9, 17) | CMYK: 29%, 47%, 0%, 93% | HSV: 263°, 47%, 7%. Copy any format from the conversion table above.
What colors go well with #0C0911?
The complementary color is HSL(86, 30%, 5%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(266, 30%, 5%) in CSS?
As HSL: color: hsl(266, 30%, 5%); — As HEX: color: #0C0911; — As RGB: color: rgb(12, 9, 17); — Tailwind CSS: bg-[hsl(266,30%,5%)] — CSS variable: --color-primary: hsl(266, 30%, 5%);