HSL(265, 40%, 37%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(265,40%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(265, 40%, 37%) | color: hsl(265, 40%, 37%) | |
| HEX | #583984 | color: #583984 | |
| RGB | rgb(88, 57, 132) | color: rgb(88, 57, 132) | |
| CMYK | cmyk(33%, 57%, 0%, 48%) | — | |
| HSV | hsv(265, 57%, 52%) | — | |
| HWB | hwb(265 22% 48%) | color: hwb(265 22% 48%) | |
| OKLCH | oklch(0.4183 0.1221 300.26) | color: oklch(0.4183 0.1221 300.26) | |
| Lab | lab(31.04 30.53 -37.33) | color: lab(31.04 30.53 -37.33) | |
| LCH | lch(31.04 48.22 309.28) | color: lch(31.04 48.22 309.28) |
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)
#4B4A72 — rgb(75, 74, 114)
Deuteranopia (Green-blind)
#4C4F6E — rgb(76, 79, 110)
Tritanopia (Blue-blind)
#566460 — rgb(86, 100, 96)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(265, 40%, 37%);
text
color: hsl(265, 40%, 37%);
border
border: 2px solid hsl(265, 40%, 37%);
gradient light
background: linear-gradient(to right, hsl(265, 40%, 57%), hsl(265, 40%, 37%));
gradient dark
background: linear-gradient(to right, hsl(265, 40%, 37%), hsl(265, 40%, 17%))
hex
background-color: #583984;
tailwind
bg-[hsl(265,40%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(265, 40%, 37%, 0.4);
css variable
--color-primary: hsl(265, 40%, 37%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(265, 40%, 37%)?
HEX: #583984 | RGB: rgb(88, 57, 132) | CMYK: 33%, 57%, 0%, 48% | HSV: 265°, 57%, 52%. Copy any format from the conversion table above.
What colors go well with #583984?
The complementary color is HSL(85, 40%, 37%). For a triadic harmony, use hues 265°, 25°, and 145°. For analogous combinations, try hues 235° and 295°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(265, 40%, 37%) in CSS?
As HSL: color: hsl(265, 40%, 37%); — As HEX: color: #583984; — As RGB: color: rgb(88, 57, 132); — Tailwind CSS: bg-[hsl(265,40%,37%)] — CSS variable: --color-primary: hsl(265, 40%, 37%);