HSL(266, 30%, 38%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,30%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 30%, 38%) | color: hsl(266, 30%, 38%) | |
| HEX | #5D447E | color: #5D447E | |
| RGB | rgb(93, 68, 126) | color: rgb(93, 68, 126) | |
| CMYK | cmyk(26%, 46%, 0%, 51%) | — | |
| HSV | hsv(266, 46%, 49%) | — | |
| HWB | hwb(266 26% 51%) | color: hwb(266 26% 51%) | |
| OKLCH | oklch(0.4399 0.0961 302.52) | color: oklch(0.4399 0.0961 302.52) | |
| Lab | lab(33.92 23.58 -28.99) | color: lab(33.92 23.58 -28.99) | |
| LCH | lch(33.92 37.37 309.12) | color: lch(33.92 37.37 309.12) |
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)
#525270 — rgb(82, 82, 112)
Deuteranopia (Green-blind)
#54566D — rgb(84, 86, 109)
Tritanopia (Blue-blind)
#5C6562 — rgb(92, 101, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 30%, 38%);
text
color: hsl(266, 30%, 38%);
border
border: 2px solid hsl(266, 30%, 38%);
gradient light
background: linear-gradient(to right, hsl(266, 30%, 58%), hsl(266, 30%, 38%));
gradient dark
background: linear-gradient(to right, hsl(266, 30%, 38%), hsl(266, 30%, 18%))
hex
background-color: #5D447E;
tailwind
bg-[hsl(266,30%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 30%, 38%, 0.4);
css variable
--color-primary: hsl(266, 30%, 38%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 30%, 38%)?
HEX: #5D447E | RGB: rgb(93, 68, 126) | CMYK: 26%, 46%, 0%, 51% | HSV: 266°, 46%, 49%. Copy any format from the conversion table above.
What colors go well with #5D447E?
The complementary color is HSL(86, 30%, 38%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(266, 30%, 38%) in CSS?
As HSL: color: hsl(266, 30%, 38%); — As HEX: color: #5D447E; — As RGB: color: rgb(93, 68, 126); — Tailwind CSS: bg-[hsl(266,30%,38%)] — CSS variable: --color-primary: hsl(266, 30%, 38%);