HSL(257, 66%, 15%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,66%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 66%, 15%) | color: hsl(257, 66%, 15%) | |
| HEX | #1B0D3F | color: #1B0D3F | |
| RGB | rgb(27, 13, 63) | color: rgb(27, 13, 63) | |
| CMYK | cmyk(57%, 79%, 0%, 75%) | — | |
| HSV | hsv(257, 79%, 25%) | — | |
| HWB | hwb(257 5% 75%) | color: hwb(257 5% 75%) | |
| OKLCH | oklch(0.2161 0.0894 289.61) | color: oklch(0.2161 0.0894 289.61) | |
| Lab | lab(7.95 22 -29.33) | color: lab(7.95 22 -29.33) | |
| LCH | lch(7.95 36.66 306.87) | color: lch(7.95 36.66 306.87) |
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)
#151533 — rgb(21, 21, 51)
Deuteranopia (Green-blind)
#161730 — rgb(22, 23, 48)
Tritanopia (Blue-blind)
#1A2927 — rgb(26, 41, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 66%, 15%);
text
color: hsl(257, 66%, 15%);
border
border: 2px solid hsl(257, 66%, 15%);
gradient light
background: linear-gradient(to right, hsl(257, 66%, 35%), hsl(257, 66%, 15%));
gradient dark
background: linear-gradient(to right, hsl(257, 66%, 15%), hsl(257, 66%, 0%))
hex
background-color: #1B0D3F;
tailwind
bg-[hsl(257,66%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 66%, 15%, 0.4);
css variable
--color-primary: hsl(257, 66%, 15%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 66%, 15%)?
HEX: #1B0D3F | RGB: rgb(27, 13, 63) | CMYK: 57%, 79%, 0%, 75% | HSV: 257°, 79%, 25%. Copy any format from the conversion table above.
What colors go well with #1B0D3F?
The complementary color is HSL(77, 66%, 15%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(257, 66%, 15%) in CSS?
As HSL: color: hsl(257, 66%, 15%); — As HEX: color: #1B0D3F; — As RGB: color: rgb(27, 13, 63); — Tailwind CSS: bg-[hsl(257,66%,15%)] — CSS variable: --color-primary: hsl(257, 66%, 15%);