HSL(260, 22%, 24%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(260,22%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(260, 22%, 24%) | color: hsl(260, 22%, 24%) | |
| HEX | #39304B | color: #39304B | |
| RGB | rgb(57, 48, 75) | color: rgb(57, 48, 75) | |
| CMYK | cmyk(24%, 36%, 0%, 71%) | — | |
| HSV | hsv(260, 36%, 29%) | — | |
| HWB | hwb(260 19% 71%) | color: hwb(260 19% 71%) | |
| OKLCH | oklch(0.331 0.0481 299.08) | color: oklch(0.331 0.0481 299.08) | |
| Lab | lab(21.91 10.7 -15.2) | color: lab(21.91 10.7 -15.2) | |
| LCH | lch(21.91 18.59 305.14) | color: lch(21.91 18.59 305.14) |
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)
#353544 — rgb(53, 53, 68)
Deuteranopia (Green-blind)
#363643 — rgb(54, 54, 67)
Tritanopia (Blue-blind)
#393F3E — rgb(57, 63, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(260, 22%, 24%);
text
color: hsl(260, 22%, 24%);
border
border: 2px solid hsl(260, 22%, 24%);
gradient light
background: linear-gradient(to right, hsl(260, 22%, 44%), hsl(260, 22%, 24%));
gradient dark
background: linear-gradient(to right, hsl(260, 22%, 24%), hsl(260, 22%, 4%))
hex
background-color: #39304B;
tailwind
bg-[hsl(260,22%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(260, 22%, 24%, 0.4);
css variable
--color-primary: hsl(260, 22%, 24%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(260, 22%, 24%)?
HEX: #39304B | RGB: rgb(57, 48, 75) | CMYK: 24%, 36%, 0%, 71% | HSV: 260°, 36%, 29%. Copy any format from the conversion table above.
What colors go well with #39304B?
The complementary color is HSL(80, 22%, 24%). 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, 22%, 24%) in CSS?
As HSL: color: hsl(260, 22%, 24%); — As HEX: color: #39304B; — As RGB: color: rgb(57, 48, 75); — Tailwind CSS: bg-[hsl(260,22%,24%)] — CSS variable: --color-primary: hsl(260, 22%, 24%);