HSL(266, 77%, 38%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,77%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 77%, 38%) | color: hsl(266, 77%, 38%) | |
| HEX | #5716AC | color: #5716AC | |
| RGB | rgb(87, 22, 172) | color: rgb(87, 22, 172) | |
| CMYK | cmyk(49%, 87%, 0%, 33%) | — | |
| HSV | hsv(266, 87%, 67%) | — | |
| HWB | hwb(266 9% 33%) | color: hwb(266 9% 33%) | |
| OKLCH | oklch(0.4089 0.2083 294.16) | color: oklch(0.4089 0.2083 294.16) | |
| Lab | lab(28.32 57.41 -66.2) | color: lab(28.32 57.41 -66.2) | |
| LCH | lch(28.32 87.63 310.93) | color: lch(28.32 87.63 310.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)
#3B3A88 — rgb(59, 58, 136)
Deuteranopia (Green-blind)
#3F447F — rgb(63, 68, 127)
Tritanopia (Blue-blind)
#546B65 — rgb(84, 107, 101)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 77%, 38%);
text
color: hsl(266, 77%, 38%);
border
border: 2px solid hsl(266, 77%, 38%);
gradient light
background: linear-gradient(to right, hsl(266, 77%, 58%), hsl(266, 77%, 38%));
gradient dark
background: linear-gradient(to right, hsl(266, 77%, 38%), hsl(266, 77%, 18%))
hex
background-color: #5716AC;
tailwind
bg-[hsl(266,77%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 77%, 38%, 0.4);
css variable
--color-primary: hsl(266, 77%, 38%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 77%, 38%)?
HEX: #5716AC | RGB: rgb(87, 22, 172) | CMYK: 49%, 87%, 0%, 33% | HSV: 266°, 87%, 67%. Copy any format from the conversion table above.
What colors go well with #5716AC?
The complementary color is HSL(86, 77%, 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, 77%, 38%) in CSS?
As HSL: color: hsl(266, 77%, 38%); — As HEX: color: #5716AC; — As RGB: color: rgb(87, 22, 172); — Tailwind CSS: bg-[hsl(266,77%,38%)] — CSS variable: --color-primary: hsl(266, 77%, 38%);