HSL(267, 35%, 25%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,35%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 35%, 25%) | color: hsl(267, 35%, 25%) | |
| HEX | #3E2956 | color: #3E2956 | |
| RGB | rgb(62, 41, 86) | color: rgb(62, 41, 86) | |
| CMYK | cmyk(28%, 52%, 0%, 66%) | — | |
| HSV | hsv(268, 52%, 34%) | — | |
| HWB | hwb(268 16% 66%) | color: hwb(268 16% 66%) | |
| OKLCH | oklch(0.3285 0.0801 303.87) | color: oklch(0.3285 0.0801 303.87) | |
| Lab | lab(21.14 20.25 -23.73) | color: lab(21.14 20.25 -23.73) | |
| LCH | lch(21.14 31.2 310.48) | color: lch(21.14 31.2 310.48) |
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)
#35354B — rgb(53, 53, 75)
Deuteranopia (Green-blind)
#363849 — rgb(54, 56, 73)
Tritanopia (Blue-blind)
#3D4341 — rgb(61, 67, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 35%, 25%);
text
color: hsl(267, 35%, 25%);
border
border: 2px solid hsl(267, 35%, 25%);
gradient light
background: linear-gradient(to right, hsl(267, 35%, 45%), hsl(267, 35%, 25%));
gradient dark
background: linear-gradient(to right, hsl(267, 35%, 25%), hsl(267, 35%, 5%))
hex
background-color: #3E2956;
tailwind
bg-[hsl(267,35%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 35%, 25%, 0.4);
css variable
--color-primary: hsl(267, 35%, 25%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 35%, 25%)?
HEX: #3E2956 | RGB: rgb(62, 41, 86) | CMYK: 28%, 52%, 0%, 66% | HSV: 268°, 52%, 34%. Copy any format from the conversion table above.
What colors go well with #3E2956?
The complementary color is HSL(87, 35%, 25%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(267, 35%, 25%) in CSS?
As HSL: color: hsl(267, 35%, 25%); — As HEX: color: #3E2956; — As RGB: color: rgb(62, 41, 86); — Tailwind CSS: bg-[hsl(267,35%,25%)] — CSS variable: --color-primary: hsl(267, 35%, 25%);