HSL(268, 20%, 37%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(268,20%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 20%, 37%) | color: hsl(268, 20%, 37%) | |
| HEX | #5D4B71 | color: #5D4B71 | |
| RGB | rgb(93, 75, 113) | color: rgb(93, 75, 113) | |
| CMYK | cmyk(18%, 34%, 0%, 56%) | — | |
| HSV | hsv(268, 34%, 44%) | — | |
| HWB | hwb(268 29% 56%) | color: hwb(268 29% 56%) | |
| OKLCH | oklch(0.4468 0.0645 305.63) | color: oklch(0.4468 0.0645 305.63) | |
| Lab | lab(35.11 15.84 -19.03) | color: lab(35.11 15.84 -19.03) | |
| LCH | lch(35.11 24.76 309.77) | color: lch(35.11 24.76 309.77) |
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)
#555568 — rgb(85, 85, 104)
Deuteranopia (Green-blind)
#565866 — rgb(86, 88, 102)
Tritanopia (Blue-blind)
#5C615F — rgb(92, 97, 95)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 20%, 37%);
text
color: hsl(268, 20%, 37%);
border
border: 2px solid hsl(268, 20%, 37%);
gradient light
background: linear-gradient(to right, hsl(268, 20%, 57%), hsl(268, 20%, 37%));
gradient dark
background: linear-gradient(to right, hsl(268, 20%, 37%), hsl(268, 20%, 17%))
hex
background-color: #5D4B71;
tailwind
bg-[hsl(268,20%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 20%, 37%, 0.4);
css variable
--color-primary: hsl(268, 20%, 37%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 20%, 37%)?
HEX: #5D4B71 | RGB: rgb(93, 75, 113) | CMYK: 18%, 34%, 0%, 56% | HSV: 268°, 34%, 44%. Copy any format from the conversion table above.
What colors go well with #5D4B71?
The complementary color is HSL(88, 20%, 37%). For a triadic harmony, use hues 268°, 28°, and 148°. For analogous combinations, try hues 238° and 298°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(268, 20%, 37%) in CSS?
As HSL: color: hsl(268, 20%, 37%); — As HEX: color: #5D4B71; — As RGB: color: rgb(93, 75, 113); — Tailwind CSS: bg-[hsl(268,20%,37%)] — CSS variable: --color-primary: hsl(268, 20%, 37%);