HSL(257, 88%, 36%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,88%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 88%, 36%) | color: hsl(257, 88%, 36%) | |
| HEX | #390BAD | color: #390BAD | |
| RGB | rgb(57, 11, 173) | color: rgb(57, 11, 173) | |
| CMYK | cmyk(67%, 94%, 0%, 32%) | — | |
| HSV | hsv(257, 94%, 68%) | — | |
| HWB | hwb(257 4% 32%) | color: hwb(257 4% 32%) | |
| OKLCH | oklch(0.3728 0.2169 280.53) | color: oklch(0.3728 0.2169 280.53) | |
| Lab | lab(24.08 58.02 -73.93) | color: lab(24.08 58.02 -73.93) | |
| LCH | lch(24.08 93.98 308.12) | color: lch(24.08 93.98 308.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)
#252586 — rgb(37, 37, 134)
Deuteranopia (Green-blind)
#282B7C — rgb(40, 43, 124)
Tritanopia (Blue-blind)
#376760 — rgb(55, 103, 96)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 88%, 36%);
text
color: hsl(257, 88%, 36%);
border
border: 2px solid hsl(257, 88%, 36%);
gradient light
background: linear-gradient(to right, hsl(257, 88%, 56%), hsl(257, 88%, 36%));
gradient dark
background: linear-gradient(to right, hsl(257, 88%, 36%), hsl(257, 88%, 16%))
hex
background-color: #390BAD;
tailwind
bg-[hsl(257,88%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 88%, 36%, 0.4);
css variable
--color-primary: hsl(257, 88%, 36%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 88%, 36%)?
HEX: #390BAD | RGB: rgb(57, 11, 173) | CMYK: 67%, 94%, 0%, 32% | HSV: 257°, 94%, 68%. Copy any format from the conversion table above.
What colors go well with #390BAD?
The complementary color is HSL(77, 88%, 36%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(257, 88%, 36%) in CSS?
As HSL: color: hsl(257, 88%, 36%); — As HEX: color: #390BAD; — As RGB: color: rgb(57, 11, 173); — Tailwind CSS: bg-[hsl(257,88%,36%)] — CSS variable: --color-primary: hsl(257, 88%, 36%);