HSL(255, 25%, 36%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(255,25%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(255, 25%, 36%) | color: hsl(255, 25%, 36%) | |
| HEX | #504573 | color: #504573 | |
| RGB | rgb(80, 69, 115) | color: rgb(80, 69, 115) | |
| CMYK | cmyk(30%, 40%, 0%, 55%) | — | |
| HSV | hsv(254, 40%, 45%) | — | |
| HWB | hwb(254 27% 55%) | color: hwb(254 27% 55%) | |
| OKLCH | oklch(0.4223 0.0758 293.9) | color: oklch(0.4223 0.0758 293.9) | |
| Lab | lab(32.26 15.86 -24.82) | color: lab(32.26 15.86 -24.82) | |
| LCH | lch(32.26 29.45 302.58) | color: lch(32.26 29.45 302.58) |
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)
#4B4B68 — rgb(75, 75, 104)
Deuteranopia (Green-blind)
#4C4D65 — rgb(76, 77, 101)
Tritanopia (Blue-blind)
#4F5F5D — rgb(79, 95, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(255, 25%, 36%);
text
color: hsl(255, 25%, 36%);
border
border: 2px solid hsl(255, 25%, 36%);
gradient light
background: linear-gradient(to right, hsl(255, 25%, 56%), hsl(255, 25%, 36%));
gradient dark
background: linear-gradient(to right, hsl(255, 25%, 36%), hsl(255, 25%, 16%))
hex
background-color: #504573;
tailwind
bg-[hsl(255,25%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(255, 25%, 36%, 0.4);
css variable
--color-primary: hsl(255, 25%, 36%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(255, 25%, 36%)?
HEX: #504573 | RGB: rgb(80, 69, 115) | CMYK: 30%, 40%, 0%, 55% | HSV: 254°, 40%, 45%. Copy any format from the conversion table above.
What colors go well with #504573?
The complementary color is HSL(75, 25%, 36%). For a triadic harmony, use hues 255°, 15°, and 135°. For analogous combinations, try hues 225° and 285°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(255, 25%, 36%) in CSS?
As HSL: color: hsl(255, 25%, 36%); — As HEX: color: #504573; — As RGB: color: rgb(80, 69, 115); — Tailwind CSS: bg-[hsl(255,25%,36%)] — CSS variable: --color-primary: hsl(255, 25%, 36%);