HSL(275, 50%, 8%)
Very Dark Indigo — Indigo color
Adjust Color
Color Information
Color Name
Very Dark Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(275,50%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(275, 50%, 8%) | color: hsl(275, 50%, 8%) | |
| HEX | #160A1F | color: #160A1F | |
| RGB | rgb(22, 10, 31) | color: rgb(22, 10, 31) | |
| CMYK | cmyk(29%, 68%, 0%, 88%) | — | |
| HSV | hsv(274, 68%, 12%) | — | |
| HWB | hwb(274 4% 88%) | color: hwb(274 4% 88%) | |
| OKLCH | oklch(0.1744 0.0447 308.85) | color: oklch(0.1744 0.0447 308.85) | |
| Lab | lab(4.4 9.18 -11.17) | color: lab(4.4 9.18 -11.17) | |
| LCH | lch(4.4 14.46 309.41) | color: lch(4.4 14.46 309.41) |
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)
#11111A — rgb(17, 17, 26)
Deuteranopia (Green-blind)
#121219 — rgb(18, 18, 25)
Tritanopia (Blue-blind)
#151615 — rgb(21, 22, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(275, 50%, 8%);
text
color: hsl(275, 50%, 8%);
border
border: 2px solid hsl(275, 50%, 8%);
gradient light
background: linear-gradient(to right, hsl(275, 50%, 28%), hsl(275, 50%, 8%));
gradient dark
background: linear-gradient(to right, hsl(275, 50%, 8%), hsl(275, 50%, 0%))
hex
background-color: #160A1F;
tailwind
bg-[hsl(275,50%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(275, 50%, 8%, 0.4);
css variable
--color-primary: hsl(275, 50%, 8%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(275, 50%, 8%)?
HEX: #160A1F | RGB: rgb(22, 10, 31) | CMYK: 29%, 68%, 0%, 88% | HSV: 274°, 68%, 12%. Copy any format from the conversion table above.
What colors go well with #160A1F?
The complementary color is HSL(95, 50%, 8%). For a triadic harmony, use hues 275°, 35°, and 155°. For analogous combinations, try hues 245° and 305°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(275, 50%, 8%) in CSS?
As HSL: color: hsl(275, 50%, 8%); — As HEX: color: #160A1F; — As RGB: color: rgb(22, 10, 31); — Tailwind CSS: bg-[hsl(275,50%,8%)] — CSS variable: --color-primary: hsl(275, 50%, 8%);