HSL(257, 76%, 15%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,76%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 76%, 15%) | color: hsl(257, 76%, 15%) | |
| HEX | #1A0943 | color: #1A0943 | |
| RGB | rgb(26, 9, 67) | color: rgb(26, 9, 67) | |
| CMYK | cmyk(61%, 87%, 0%, 74%) | — | |
| HSV | hsv(258, 87%, 26%) | — | |
| HWB | hwb(258 3% 74%) | color: hwb(258 3% 74%) | |
| OKLCH | oklch(0.2132 0.1001 288.08) | color: oklch(0.2132 0.1001 288.08) | |
| Lab | lab(7.41 25.53 -33.06) | color: lab(7.41 25.53 -33.06) | |
| LCH | lch(7.41 41.77 307.68) | color: lch(7.41 41.77 307.68) |
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)
#131235 — rgb(19, 18, 53)
Deuteranopia (Green-blind)
#141532 — rgb(20, 21, 50)
Tritanopia (Blue-blind)
#192A27 — rgb(25, 42, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 76%, 15%);
text
color: hsl(257, 76%, 15%);
border
border: 2px solid hsl(257, 76%, 15%);
gradient light
background: linear-gradient(to right, hsl(257, 76%, 35%), hsl(257, 76%, 15%));
gradient dark
background: linear-gradient(to right, hsl(257, 76%, 15%), hsl(257, 76%, 0%))
hex
background-color: #1A0943;
tailwind
bg-[hsl(257,76%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 76%, 15%, 0.4);
css variable
--color-primary: hsl(257, 76%, 15%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 76%, 15%)?
HEX: #1A0943 | RGB: rgb(26, 9, 67) | CMYK: 61%, 87%, 0%, 74% | HSV: 258°, 87%, 26%. Copy any format from the conversion table above.
What colors go well with #1A0943?
The complementary color is HSL(77, 76%, 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, 76%, 15%) in CSS?
As HSL: color: hsl(257, 76%, 15%); — As HEX: color: #1A0943; — As RGB: color: rgb(26, 9, 67); — Tailwind CSS: bg-[hsl(257,76%,15%)] — CSS variable: --color-primary: hsl(257, 76%, 15%);