HSL(260, 21%, 30%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(260,21%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(260, 21%, 30%) | color: hsl(260, 21%, 30%) | |
| HEX | #473C5D | color: #473C5D | |
| RGB | rgb(71, 60, 93) | color: rgb(71, 60, 93) | |
| CMYK | cmyk(24%, 35%, 0%, 64%) | — | |
| HSV | hsv(260, 35%, 36%) | — | |
| HWB | hwb(260 23% 64%) | color: hwb(260 23% 64%) | |
| OKLCH | oklch(0.382 0.0566 299.02) | color: oklch(0.382 0.0566 299.02) | |
| Lab | lab(27.74 12.62 -17.91) | color: lab(27.74 12.62 -17.91) | |
| LCH | lch(27.74 21.91 305.17) | color: lch(27.74 21.91 305.17) |
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)
#424255 — rgb(66, 66, 85)
Deuteranopia (Green-blind)
#434453 — rgb(67, 68, 83)
Tritanopia (Blue-blind)
#464F4D — rgb(70, 79, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(260, 21%, 30%);
text
color: hsl(260, 21%, 30%);
border
border: 2px solid hsl(260, 21%, 30%);
gradient light
background: linear-gradient(to right, hsl(260, 21%, 50%), hsl(260, 21%, 30%));
gradient dark
background: linear-gradient(to right, hsl(260, 21%, 30%), hsl(260, 21%, 10%))
hex
background-color: #473C5D;
tailwind
bg-[hsl(260,21%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(260, 21%, 30%, 0.4);
css variable
--color-primary: hsl(260, 21%, 30%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(260, 21%, 30%)?
HEX: #473C5D | RGB: rgb(71, 60, 93) | CMYK: 24%, 35%, 0%, 64% | HSV: 260°, 35%, 36%. Copy any format from the conversion table above.
What colors go well with #473C5D?
The complementary color is HSL(80, 21%, 30%). For a triadic harmony, use hues 260°, 20°, and 140°. For analogous combinations, try hues 230° and 290°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(260, 21%, 30%) in CSS?
As HSL: color: hsl(260, 21%, 30%); — As HEX: color: #473C5D; — As RGB: color: rgb(71, 60, 93); — Tailwind CSS: bg-[hsl(260,21%,30%)] — CSS variable: --color-primary: hsl(260, 21%, 30%);