HSL(257, 79%, 15%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,79%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 79%, 15%) | color: hsl(257, 79%, 15%) | |
| HEX | #190844 | color: #190844 | |
| RGB | rgb(25, 8, 68) | color: rgb(25, 8, 68) | |
| CMYK | cmyk(63%, 88%, 0%, 73%) | — | |
| HSV | hsv(257, 88%, 27%) | — | |
| HWB | hwb(257 3% 73%) | color: hwb(257 3% 73%) | |
| OKLCH | oklch(0.2117 0.1028 286.86) | color: oklch(0.2117 0.1028 286.86) | |
| Lab | lab(7.2 26.25 -34.11) | color: lab(7.2 26.25 -34.11) | |
| LCH | lch(7.2 43.04 307.58) | color: lch(7.2 43.04 307.58) |
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)
#121135 — rgb(18, 17, 53)
Deuteranopia (Green-blind)
#131432 — rgb(19, 20, 50)
Tritanopia (Blue-blind)
#182A28 — rgb(24, 42, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 79%, 15%);
text
color: hsl(257, 79%, 15%);
border
border: 2px solid hsl(257, 79%, 15%);
gradient light
background: linear-gradient(to right, hsl(257, 79%, 35%), hsl(257, 79%, 15%));
gradient dark
background: linear-gradient(to right, hsl(257, 79%, 15%), hsl(257, 79%, 0%))
hex
background-color: #190844;
tailwind
bg-[hsl(257,79%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 79%, 15%, 0.4);
css variable
--color-primary: hsl(257, 79%, 15%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 79%, 15%)?
HEX: #190844 | RGB: rgb(25, 8, 68) | CMYK: 63%, 88%, 0%, 73% | HSV: 257°, 88%, 27%. Copy any format from the conversion table above.
What colors go well with #190844?
The complementary color is HSL(77, 79%, 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, 79%, 15%) in CSS?
As HSL: color: hsl(257, 79%, 15%); — As HEX: color: #190844; — As RGB: color: rgb(25, 8, 68); — Tailwind CSS: bg-[hsl(257,79%,15%)] — CSS variable: --color-primary: hsl(257, 79%, 15%);