HSL(257, 28%, 41%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,28%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 28%, 41%) | color: hsl(257, 28%, 41%) | |
| HEX | #5C4B86 | color: #5C4B86 | |
| RGB | rgb(92, 75, 134) | color: rgb(92, 75, 134) | |
| CMYK | cmyk(31%, 44%, 0%, 47%) | — | |
| HSV | hsv(257, 44%, 53%) | — | |
| HWB | hwb(257 30% 47%) | color: hwb(257 30% 47%) | |
| OKLCH | oklch(0.457 0.0951 295.67) | color: oklch(0.457 0.0951 295.67) | |
| Lab | lab(36.04 21.05 -30.59) | color: lab(36.04 21.05 -30.59) | |
| LCH | lch(36.04 37.13 304.53) | color: lch(36.04 37.13 304.53) |
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)
#555478 — rgb(85, 84, 120)
Deuteranopia (Green-blind)
#565774 — rgb(86, 87, 116)
Tritanopia (Blue-blind)
#5B6C6A — rgb(91, 108, 106)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 28%, 41%);
text
color: hsl(257, 28%, 41%);
border
border: 2px solid hsl(257, 28%, 41%);
gradient light
background: linear-gradient(to right, hsl(257, 28%, 61%), hsl(257, 28%, 41%));
gradient dark
background: linear-gradient(to right, hsl(257, 28%, 41%), hsl(257, 28%, 21%))
hex
background-color: #5C4B86;
tailwind
bg-[hsl(257,28%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 28%, 41%, 0.4);
css variable
--color-primary: hsl(257, 28%, 41%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 28%, 41%)?
HEX: #5C4B86 | RGB: rgb(92, 75, 134) | CMYK: 31%, 44%, 0%, 47% | HSV: 257°, 44%, 53%. Copy any format from the conversion table above.
What colors go well with #5C4B86?
The complementary color is HSL(77, 28%, 41%). 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, 28%, 41%) in CSS?
As HSL: color: hsl(257, 28%, 41%); — As HEX: color: #5C4B86; — As RGB: color: rgb(92, 75, 134); — Tailwind CSS: bg-[hsl(257,28%,41%)] — CSS variable: --color-primary: hsl(257, 28%, 41%);