HSL(256, 19%, 39%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(256,19%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(256, 19%, 39%) | color: hsl(256, 19%, 39%) | |
| HEX | #5B5176 | color: #5B5176 | |
| RGB | rgb(91, 81, 118) | color: rgb(91, 81, 118) | |
| CMYK | cmyk(23%, 31%, 0%, 54%) | — | |
| HSV | hsv(256, 31%, 46%) | — | |
| HWB | hwb(256 32% 54%) | color: hwb(256 32% 54%) | |
| OKLCH | oklch(0.4598 0.0603 296.36) | color: oklch(0.4598 0.0603 296.36) | |
| Lab | lab(36.77 12.63 -19.58) | color: lab(36.77 12.63 -19.58) | |
| LCH | lch(36.77 23.3 302.82) | color: lch(36.77 23.3 302.82) |
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)
#57576D — rgb(87, 87, 109)
Deuteranopia (Green-blind)
#57586B — rgb(87, 88, 107)
Tritanopia (Blue-blind)
#5B6664 — rgb(91, 102, 100)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(256, 19%, 39%);
text
color: hsl(256, 19%, 39%);
border
border: 2px solid hsl(256, 19%, 39%);
gradient light
background: linear-gradient(to right, hsl(256, 19%, 59%), hsl(256, 19%, 39%));
gradient dark
background: linear-gradient(to right, hsl(256, 19%, 39%), hsl(256, 19%, 19%))
hex
background-color: #5B5176;
tailwind
bg-[hsl(256,19%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(256, 19%, 39%, 0.4);
css variable
--color-primary: hsl(256, 19%, 39%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(256, 19%, 39%)?
HEX: #5B5176 | RGB: rgb(91, 81, 118) | CMYK: 23%, 31%, 0%, 54% | HSV: 256°, 31%, 46%. Copy any format from the conversion table above.
What colors go well with #5B5176?
The complementary color is HSL(76, 19%, 39%). For a triadic harmony, use hues 256°, 16°, and 136°. For analogous combinations, try hues 226° and 286°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(256, 19%, 39%) in CSS?
As HSL: color: hsl(256, 19%, 39%); — As HEX: color: #5B5176; — As RGB: color: rgb(91, 81, 118); — Tailwind CSS: bg-[hsl(256,19%,39%)] — CSS variable: --color-primary: hsl(256, 19%, 39%);