HSL(256, 40%, 34%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(256,40%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(256, 40%, 34%) | color: hsl(256, 40%, 34%) | |
| HEX | #473479 | color: #473479 | |
| RGB | rgb(71, 52, 121) | color: rgb(71, 52, 121) | |
| CMYK | cmyk(41%, 57%, 0%, 53%) | — | |
| HSV | hsv(257, 57%, 47%) | — | |
| HWB | hwb(257 20% 53%) | color: hwb(257 20% 53%) | |
| OKLCH | oklch(0.3835 0.113 293) | color: oklch(0.3835 0.113 293) | |
| Lab | lab(27.23 25.97 -36.64) | color: lab(27.23 25.97 -36.64) | |
| LCH | lch(27.23 44.91 305.33) | color: lch(27.23 44.91 305.33) |
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)
#3F3F68 — rgb(63, 63, 104)
Deuteranopia (Green-blind)
#404164 — rgb(64, 65, 100)
Tritanopia (Blue-blind)
#465B58 — rgb(70, 91, 88)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(256, 40%, 34%);
text
color: hsl(256, 40%, 34%);
border
border: 2px solid hsl(256, 40%, 34%);
gradient light
background: linear-gradient(to right, hsl(256, 40%, 54%), hsl(256, 40%, 34%));
gradient dark
background: linear-gradient(to right, hsl(256, 40%, 34%), hsl(256, 40%, 14%))
hex
background-color: #473479;
tailwind
bg-[hsl(256,40%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(256, 40%, 34%, 0.4);
css variable
--color-primary: hsl(256, 40%, 34%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(256, 40%, 34%)?
HEX: #473479 | RGB: rgb(71, 52, 121) | CMYK: 41%, 57%, 0%, 53% | HSV: 257°, 57%, 47%. Copy any format from the conversion table above.
What colors go well with #473479?
The complementary color is HSL(76, 40%, 34%). 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, 40%, 34%) in CSS?
As HSL: color: hsl(256, 40%, 34%); — As HEX: color: #473479; — As RGB: color: rgb(71, 52, 121); — Tailwind CSS: bg-[hsl(256,40%,34%)] — CSS variable: --color-primary: hsl(256, 40%, 34%);