HSL(268, 30%, 37%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(268,30%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 30%, 37%) | color: hsl(268, 30%, 37%) | |
| HEX | #5C427B | color: #5C427B | |
| RGB | rgb(92, 66, 123) | color: rgb(92, 66, 123) | |
| CMYK | cmyk(25%, 46%, 0%, 52%) | — | |
| HSV | hsv(267, 46%, 48%) | — | |
| HWB | hwb(267 26% 52%) | color: hwb(267 26% 52%) | |
| OKLCH | oklch(0.4333 0.0952 303.73) | color: oklch(0.4333 0.0952 303.73) | |
| Lab | lab(33.14 23.73 -28.35) | color: lab(33.14 23.73 -28.35) | |
| LCH | lch(33.14 36.97 309.93) | color: lch(33.14 36.97 309.93) |
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)
#51516D — rgb(81, 81, 109)
Deuteranopia (Green-blind)
#52546A — rgb(82, 84, 106)
Tritanopia (Blue-blind)
#5B6260 — rgb(91, 98, 96)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 30%, 37%);
text
color: hsl(268, 30%, 37%);
border
border: 2px solid hsl(268, 30%, 37%);
gradient light
background: linear-gradient(to right, hsl(268, 30%, 57%), hsl(268, 30%, 37%));
gradient dark
background: linear-gradient(to right, hsl(268, 30%, 37%), hsl(268, 30%, 17%))
hex
background-color: #5C427B;
tailwind
bg-[hsl(268,30%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 30%, 37%, 0.4);
css variable
--color-primary: hsl(268, 30%, 37%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 30%, 37%)?
HEX: #5C427B | RGB: rgb(92, 66, 123) | CMYK: 25%, 46%, 0%, 52% | HSV: 267°, 46%, 48%. Copy any format from the conversion table above.
What colors go well with #5C427B?
The complementary color is HSL(88, 30%, 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, 30%, 37%) in CSS?
As HSL: color: hsl(268, 30%, 37%); — As HEX: color: #5C427B; — As RGB: color: rgb(92, 66, 123); — Tailwind CSS: bg-[hsl(268,30%,37%)] — CSS variable: --color-primary: hsl(268, 30%, 37%);