HSL(260, 63%, 24%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(260,63%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(260, 63%, 24%) | color: hsl(260, 63%, 24%) | |
| HEX | #301764 | color: #301764 | |
| RGB | rgb(48, 23, 100) | color: rgb(48, 23, 100) | |
| CMYK | cmyk(52%, 77%, 0%, 61%) | — | |
| HSV | hsv(259, 77%, 39%) | — | |
| HWB | hwb(259 9% 61%) | color: hwb(259 9% 61%) | |
| OKLCH | oklch(0.2928 0.1261 291.47) | color: oklch(0.2928 0.1261 291.47) | |
| Lab | lab(16.31 32.07 -40.89) | color: lab(16.31 32.07 -40.89) | |
| LCH | lch(16.31 51.97 308.11) | color: lch(16.31 51.97 308.11) |
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)
#252551 — rgb(37, 37, 81)
Deuteranopia (Green-blind)
#27294D — rgb(39, 41, 77)
Tritanopia (Blue-blind)
#2F433F — rgb(47, 67, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(260, 63%, 24%);
text
color: hsl(260, 63%, 24%);
border
border: 2px solid hsl(260, 63%, 24%);
gradient light
background: linear-gradient(to right, hsl(260, 63%, 44%), hsl(260, 63%, 24%));
gradient dark
background: linear-gradient(to right, hsl(260, 63%, 24%), hsl(260, 63%, 4%))
hex
background-color: #301764;
tailwind
bg-[hsl(260,63%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(260, 63%, 24%, 0.4);
css variable
--color-primary: hsl(260, 63%, 24%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(260, 63%, 24%)?
HEX: #301764 | RGB: rgb(48, 23, 100) | CMYK: 52%, 77%, 0%, 61% | HSV: 259°, 77%, 39%. Copy any format from the conversion table above.
What colors go well with #301764?
The complementary color is HSL(80, 63%, 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, 63%, 24%) in CSS?
As HSL: color: hsl(260, 63%, 24%); — As HEX: color: #301764; — As RGB: color: rgb(48, 23, 100); — Tailwind CSS: bg-[hsl(260,63%,24%)] — CSS variable: --color-primary: hsl(260, 63%, 24%);