HSL(260, 92%, 19%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(260,92%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(260, 92%, 19%) | color: hsl(260, 92%, 19%) | |
| HEX | #22045D | color: #22045D | |
| RGB | rgb(34, 4, 93) | color: rgb(34, 4, 93) | |
| CMYK | cmyk(63%, 96%, 0%, 64%) | — | |
| HSV | hsv(260, 96%, 36%) | — | |
| HWB | hwb(260 1% 64%) | color: hwb(260 1% 64%) | |
| OKLCH | oklch(0.2475 0.1367 286.29) | color: oklch(0.2475 0.1367 286.29) | |
| Lab | lab(10.68 37.14 -45.56) | color: lab(10.68 37.14 -45.56) | |
| LCH | lch(10.68 58.78 309.19) | color: lch(10.68 58.78 309.19) |
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)
#151547 — rgb(21, 21, 71)
Deuteranopia (Green-blind)
#171942 — rgb(23, 25, 66)
Tritanopia (Blue-blind)
#213633 — rgb(33, 54, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(260, 92%, 19%);
text
color: hsl(260, 92%, 19%);
border
border: 2px solid hsl(260, 92%, 19%);
gradient light
background: linear-gradient(to right, hsl(260, 92%, 39%), hsl(260, 92%, 19%));
gradient dark
background: linear-gradient(to right, hsl(260, 92%, 19%), hsl(260, 92%, 0%))
hex
background-color: #22045D;
tailwind
bg-[hsl(260,92%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(260, 92%, 19%, 0.4);
css variable
--color-primary: hsl(260, 92%, 19%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(260, 92%, 19%)?
HEX: #22045D | RGB: rgb(34, 4, 93) | CMYK: 63%, 96%, 0%, 64% | HSV: 260°, 96%, 36%. Copy any format from the conversion table above.
What colors go well with #22045D?
The complementary color is HSL(80, 92%, 19%). 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, 92%, 19%) in CSS?
As HSL: color: hsl(260, 92%, 19%); — As HEX: color: #22045D; — As RGB: color: rgb(34, 4, 93); — Tailwind CSS: bg-[hsl(260,92%,19%)] — CSS variable: --color-primary: hsl(260, 92%, 19%);