HSL(257, 29%, 40%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,29%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 29%, 40%) | color: hsl(257, 29%, 40%) | |
| HEX | #594884 | color: #594884 | |
| RGB | rgb(89, 72, 132) | color: rgb(89, 72, 132) | |
| CMYK | cmyk(33%, 45%, 0%, 48%) | — | |
| HSV | hsv(257, 45%, 52%) | — | |
| HWB | hwb(257 29% 48%) | color: hwb(257 29% 48%) | |
| OKLCH | oklch(0.447 0.097 295.25) | color: oklch(0.447 0.097 295.25) | |
| Lab | lab(34.85 21.49 -31.25) | color: lab(34.85 21.49 -31.25) | |
| LCH | lch(34.85 37.93 304.52) | color: lch(34.85 37.93 304.52) |
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)
#525175 — rgb(82, 81, 117)
Deuteranopia (Green-blind)
#535472 — rgb(83, 84, 114)
Tritanopia (Blue-blind)
#586A68 — rgb(88, 106, 104)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 29%, 40%);
text
color: hsl(257, 29%, 40%);
border
border: 2px solid hsl(257, 29%, 40%);
gradient light
background: linear-gradient(to right, hsl(257, 29%, 60%), hsl(257, 29%, 40%));
gradient dark
background: linear-gradient(to right, hsl(257, 29%, 40%), hsl(257, 29%, 20%))
hex
background-color: #594884;
tailwind
bg-[hsl(257,29%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 29%, 40%, 0.4);
css variable
--color-primary: hsl(257, 29%, 40%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 29%, 40%)?
HEX: #594884 | RGB: rgb(89, 72, 132) | CMYK: 33%, 45%, 0%, 48% | HSV: 257°, 45%, 52%. Copy any format from the conversion table above.
What colors go well with #594884?
The complementary color is HSL(77, 29%, 40%). 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, 29%, 40%) in CSS?
As HSL: color: hsl(257, 29%, 40%); — As HEX: color: #594884; — As RGB: color: rgb(89, 72, 132); — Tailwind CSS: bg-[hsl(257,29%,40%)] — CSS variable: --color-primary: hsl(257, 29%, 40%);