HSL(259, 80%, 23%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(259,80%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(259, 80%, 23%) | color: hsl(259, 80%, 23%) | |
| HEX | #290C6A | color: #290C6A | |
| RGB | rgb(41, 12, 106) | color: rgb(41, 12, 106) | |
| CMYK | cmyk(61%, 89%, 0%, 58%) | — | |
| HSV | hsv(259, 89%, 42%) | — | |
| HWB | hwb(259 5% 58%) | color: hwb(259 5% 58%) | |
| OKLCH | oklch(0.2785 0.1448 286.31) | color: oklch(0.2785 0.1448 286.31) | |
| Lab | lab(14.26 38.22 -48.25) | color: lab(14.26 38.22 -48.25) | |
| LCH | lch(14.26 61.55 308.38) | color: lch(14.26 61.55 308.38) |
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)
#1C1C53 — rgb(28, 28, 83)
Deuteranopia (Green-blind)
#1E204E — rgb(30, 32, 78)
Tritanopia (Blue-blind)
#28413D — rgb(40, 65, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(259, 80%, 23%);
text
color: hsl(259, 80%, 23%);
border
border: 2px solid hsl(259, 80%, 23%);
gradient light
background: linear-gradient(to right, hsl(259, 80%, 43%), hsl(259, 80%, 23%));
gradient dark
background: linear-gradient(to right, hsl(259, 80%, 23%), hsl(259, 80%, 3%))
hex
background-color: #290C6A;
tailwind
bg-[hsl(259,80%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(259, 80%, 23%, 0.4);
css variable
--color-primary: hsl(259, 80%, 23%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(259, 80%, 23%)?
HEX: #290C6A | RGB: rgb(41, 12, 106) | CMYK: 61%, 89%, 0%, 58% | HSV: 259°, 89%, 42%. Copy any format from the conversion table above.
What colors go well with #290C6A?
The complementary color is HSL(79, 80%, 23%). For a triadic harmony, use hues 259°, 19°, and 139°. For analogous combinations, try hues 229° and 289°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(259, 80%, 23%) in CSS?
As HSL: color: hsl(259, 80%, 23%); — As HEX: color: #290C6A; — As RGB: color: rgb(41, 12, 106); — Tailwind CSS: bg-[hsl(259,80%,23%)] — CSS variable: --color-primary: hsl(259, 80%, 23%);