HSL(260, 89%, 40%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(260,89%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(260, 89%, 40%) | color: hsl(260, 89%, 40%) | |
| HEX | #480BC1 | color: #480BC1 | |
| RGB | rgb(72, 11, 193) | color: rgb(72, 11, 193) | |
| CMYK | cmyk(63%, 94%, 0%, 24%) | — | |
| HSV | hsv(260, 94%, 76%) | — | |
| HWB | hwb(260 5% 24%) | color: hwb(260 5% 24%) | |
| OKLCH | oklch(0.4097 0.235 283.66) | color: oklch(0.4097 0.235 283.66) | |
| Lab | lab(28.02 63.93 -79.26) | color: lab(28.02 63.93 -79.26) | |
| LCH | lch(28.02 101.83 308.89) | color: lch(28.02 101.83 308.89) |
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)
#2E2D95 — rgb(46, 45, 149)
Deuteranopia (Green-blind)
#31368A — rgb(49, 54, 138)
Tritanopia (Blue-blind)
#45726B — rgb(69, 114, 107)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(260, 89%, 40%);
text
color: hsl(260, 89%, 40%);
border
border: 2px solid hsl(260, 89%, 40%);
gradient light
background: linear-gradient(to right, hsl(260, 89%, 60%), hsl(260, 89%, 40%));
gradient dark
background: linear-gradient(to right, hsl(260, 89%, 40%), hsl(260, 89%, 20%))
hex
background-color: #480BC1;
tailwind
bg-[hsl(260,89%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(260, 89%, 40%, 0.4);
css variable
--color-primary: hsl(260, 89%, 40%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(260, 89%, 40%)?
HEX: #480BC1 | RGB: rgb(72, 11, 193) | CMYK: 63%, 94%, 0%, 24% | HSV: 260°, 94%, 76%. Copy any format from the conversion table above.
What colors go well with #480BC1?
The complementary color is HSL(80, 89%, 40%). For a triadic harmony, use hues 260°, 20°, and 140°. For analogous combinations, try hues 230° and 290°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(260, 89%, 40%) in CSS?
As HSL: color: hsl(260, 89%, 40%); — As HEX: color: #480BC1; — As RGB: color: rgb(72, 11, 193); — Tailwind CSS: bg-[hsl(260,89%,40%)] — CSS variable: --color-primary: hsl(260, 89%, 40%);