HSL(268, 31%, 9%)
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(268,31%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 31%, 9%) | color: hsl(268, 31%, 9%) | |
| HEX | #16101E | color: #16101E | |
| RGB | rgb(22, 16, 30) | color: rgb(22, 16, 30) | |
| CMYK | cmyk(27%, 47%, 0%, 88%) | — | |
| HSV | hsv(266, 47%, 12%) | — | |
| HWB | hwb(266 6% 88%) | color: hwb(266 6% 88%) | |
| OKLCH | oklch(0.1879 0.0291 303.4) | color: oklch(0.1879 0.0291 303.4) | |
| Lab | lab(5.73 6.02 -8.37) | color: lab(5.73 6.02 -8.37) | |
| LCH | lch(5.73 10.31 305.73) | color: lch(5.73 10.31 305.73) |
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)
#13131B — rgb(19, 19, 27)
Deuteranopia (Green-blind)
#14141A — rgb(20, 20, 26)
Tritanopia (Blue-blind)
#161817 — rgb(22, 24, 23)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 31%, 9%);
text
color: hsl(268, 31%, 9%);
border
border: 2px solid hsl(268, 31%, 9%);
gradient light
background: linear-gradient(to right, hsl(268, 31%, 29%), hsl(268, 31%, 9%));
gradient dark
background: linear-gradient(to right, hsl(268, 31%, 9%), hsl(268, 31%, 0%))
hex
background-color: #16101E;
tailwind
bg-[hsl(268,31%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 31%, 9%, 0.4);
css variable
--color-primary: hsl(268, 31%, 9%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 31%, 9%)?
HEX: #16101E | RGB: rgb(22, 16, 30) | CMYK: 27%, 47%, 0%, 88% | HSV: 266°, 47%, 12%. Copy any format from the conversion table above.
What colors go well with #16101E?
The complementary color is HSL(88, 31%, 9%). For a triadic harmony, use hues 268°, 28°, and 148°. For analogous combinations, try hues 238° and 298°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(268, 31%, 9%) in CSS?
As HSL: color: hsl(268, 31%, 9%); — As HEX: color: #16101E; — As RGB: color: rgb(22, 16, 30); — Tailwind CSS: bg-[hsl(268,31%,9%)] — CSS variable: --color-primary: hsl(268, 31%, 9%);