HSL(255, 11%, 10%)
Very Dark Indigo — Indigo color
Adjust Color
Color Information
Color Name
Very Dark Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(255,11%,10%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(255, 11%, 10%) | color: hsl(255, 11%, 10%) | |
| HEX | #18171C | color: #18171C | |
| RGB | rgb(24, 23, 28) | color: rgb(24, 23, 28) | |
| CMYK | cmyk(14%, 18%, 0%, 89%) | — | |
| HSV | hsv(252, 18%, 11%) | — | |
| HWB | hwb(252 9% 89%) | color: hwb(252 9% 89%) | |
| OKLCH | oklch(0.208 0.0099 294.69) | color: oklch(0.208 0.0099 294.69) | |
| Lab | lab(8.05 1.84 -3.33) | color: lab(8.05 1.84 -3.33) | |
| LCH | lch(8.05 3.8 298.92) | color: lch(8.05 3.8 298.92) |
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)
#18181B — rgb(24, 24, 27)
Deuteranopia (Green-blind)
#18181B — rgb(24, 24, 27)
Tritanopia (Blue-blind)
#181A1A — rgb(24, 26, 26)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(255, 11%, 10%);
text
color: hsl(255, 11%, 10%);
border
border: 2px solid hsl(255, 11%, 10%);
gradient light
background: linear-gradient(to right, hsl(255, 11%, 30%), hsl(255, 11%, 10%));
gradient dark
background: linear-gradient(to right, hsl(255, 11%, 10%), hsl(255, 11%, 0%))
hex
background-color: #18171C;
tailwind
bg-[hsl(255,11%,10%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(255, 11%, 10%, 0.4);
css variable
--color-primary: hsl(255, 11%, 10%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(255, 11%, 10%)?
HEX: #18171C | RGB: rgb(24, 23, 28) | CMYK: 14%, 18%, 0%, 89% | HSV: 252°, 18%, 11%. Copy any format from the conversion table above.
What colors go well with #18171C?
The complementary color is HSL(75, 11%, 10%). For a triadic harmony, use hues 255°, 15°, and 135°. For analogous combinations, try hues 225° and 285°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(255, 11%, 10%) in CSS?
As HSL: color: hsl(255, 11%, 10%); — As HEX: color: #18171C; — As RGB: color: rgb(24, 23, 28); — Tailwind CSS: bg-[hsl(255,11%,10%)] — CSS variable: --color-primary: hsl(255, 11%, 10%);