HSL(257, 43%, 11%)
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(257,43%,11%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 43%, 11%) | color: hsl(257, 43%, 11%) | |
| HEX | #171028 | color: #171028 | |
| RGB | rgb(23, 16, 40) | color: rgb(23, 16, 40) | |
| CMYK | cmyk(43%, 60%, 0%, 84%) | — | |
| HSV | hsv(258, 60%, 16%) | — | |
| HWB | hwb(258 6% 84%) | color: hwb(258 6% 84%) | |
| OKLCH | oklch(0.1962 0.0474 295.12) | color: oklch(0.1962 0.0474 295.12) | |
| Lab | lab(6.38 10.17 -15.01) | color: lab(6.38 10.17 -15.01) | |
| LCH | lch(6.38 18.13 304.12) | color: lch(6.38 18.13 304.12) |
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)
#141422 — rgb(20, 20, 34)
Deuteranopia (Green-blind)
#141521 — rgb(20, 21, 33)
Tritanopia (Blue-blind)
#171E1D — rgb(23, 30, 29)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 43%, 11%);
text
color: hsl(257, 43%, 11%);
border
border: 2px solid hsl(257, 43%, 11%);
gradient light
background: linear-gradient(to right, hsl(257, 43%, 31%), hsl(257, 43%, 11%));
gradient dark
background: linear-gradient(to right, hsl(257, 43%, 11%), hsl(257, 43%, 0%))
hex
background-color: #171028;
tailwind
bg-[hsl(257,43%,11%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 43%, 11%, 0.4);
css variable
--color-primary: hsl(257, 43%, 11%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 43%, 11%)?
HEX: #171028 | RGB: rgb(23, 16, 40) | CMYK: 43%, 60%, 0%, 84% | HSV: 258°, 60%, 16%. Copy any format from the conversion table above.
What colors go well with #171028?
The complementary color is HSL(77, 43%, 11%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(257, 43%, 11%) in CSS?
As HSL: color: hsl(257, 43%, 11%); — As HEX: color: #171028; — As RGB: color: rgb(23, 16, 40); — Tailwind CSS: bg-[hsl(257,43%,11%)] — CSS variable: --color-primary: hsl(257, 43%, 11%);