HSL(256, 35%, 29%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(256,35%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(256, 35%, 29%) | color: hsl(256, 35%, 29%) | |
| HEX | #3E3064 | color: #3E3064 | |
| RGB | rgb(62, 48, 100) | color: rgb(62, 48, 100) | |
| CMYK | cmyk(38%, 52%, 0%, 61%) | — | |
| HSV | hsv(256, 52%, 39%) | — | |
| HWB | hwb(256 19% 61%) | color: hwb(256 19% 61%) | |
| OKLCH | oklch(0.3517 0.0883 293.77) | color: oklch(0.3517 0.0883 293.77) | |
| Lab | lab(23.86 19.72 -28.62) | color: lab(23.86 19.72 -28.62) | |
| LCH | lch(23.86 34.76 304.57) | color: lch(23.86 34.76 304.57) |
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)
#383857 — rgb(56, 56, 87)
Deuteranopia (Green-blind)
#393A54 — rgb(57, 58, 84)
Tritanopia (Blue-blind)
#3D4D4B — rgb(61, 77, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(256, 35%, 29%);
text
color: hsl(256, 35%, 29%);
border
border: 2px solid hsl(256, 35%, 29%);
gradient light
background: linear-gradient(to right, hsl(256, 35%, 49%), hsl(256, 35%, 29%));
gradient dark
background: linear-gradient(to right, hsl(256, 35%, 29%), hsl(256, 35%, 9%))
hex
background-color: #3E3064;
tailwind
bg-[hsl(256,35%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(256, 35%, 29%, 0.4);
css variable
--color-primary: hsl(256, 35%, 29%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(256, 35%, 29%)?
HEX: #3E3064 | RGB: rgb(62, 48, 100) | CMYK: 38%, 52%, 0%, 61% | HSV: 256°, 52%, 39%. Copy any format from the conversion table above.
What colors go well with #3E3064?
The complementary color is HSL(76, 35%, 29%). For a triadic harmony, use hues 256°, 16°, and 136°. For analogous combinations, try hues 226° and 286°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(256, 35%, 29%) in CSS?
As HSL: color: hsl(256, 35%, 29%); — As HEX: color: #3E3064; — As RGB: color: rgb(62, 48, 100); — Tailwind CSS: bg-[hsl(256,35%,29%)] — CSS variable: --color-primary: hsl(256, 35%, 29%);