HSL(260, 65%, 15%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(260,65%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(260, 65%, 15%) | color: hsl(260, 65%, 15%) | |
| HEX | #1E0D3F | color: #1E0D3F | |
| RGB | rgb(30, 13, 63) | color: rgb(30, 13, 63) | |
| CMYK | cmyk(52%, 79%, 0%, 75%) | — | |
| HSV | hsv(260, 79%, 25%) | — | |
| HWB | hwb(260 5% 75%) | color: hwb(260 5% 75%) | |
| OKLCH | oklch(0.2197 0.0894 293.19) | color: oklch(0.2197 0.0894 293.19) | |
| Lab | lab(8.33 22.64 -28.69) | color: lab(8.33 22.64 -28.69) | |
| LCH | lch(8.33 36.55 308.28) | color: lch(8.33 36.55 308.28) |
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)
#171633 — rgb(23, 22, 51)
Deuteranopia (Green-blind)
#181930 — rgb(24, 25, 48)
Tritanopia (Blue-blind)
#1D2927 — rgb(29, 41, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(260, 65%, 15%);
text
color: hsl(260, 65%, 15%);
border
border: 2px solid hsl(260, 65%, 15%);
gradient light
background: linear-gradient(to right, hsl(260, 65%, 35%), hsl(260, 65%, 15%));
gradient dark
background: linear-gradient(to right, hsl(260, 65%, 15%), hsl(260, 65%, 0%))
hex
background-color: #1E0D3F;
tailwind
bg-[hsl(260,65%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(260, 65%, 15%, 0.4);
css variable
--color-primary: hsl(260, 65%, 15%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(260, 65%, 15%)?
HEX: #1E0D3F | RGB: rgb(30, 13, 63) | CMYK: 52%, 79%, 0%, 75% | HSV: 260°, 79%, 25%. Copy any format from the conversion table above.
What colors go well with #1E0D3F?
The complementary color is HSL(80, 65%, 15%). 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, 65%, 15%) in CSS?
As HSL: color: hsl(260, 65%, 15%); — As HEX: color: #1E0D3F; — As RGB: color: rgb(30, 13, 63); — Tailwind CSS: bg-[hsl(260,65%,15%)] — CSS variable: --color-primary: hsl(260, 65%, 15%);