HSL(256, 19%, 58%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(256,19%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(256, 19%, 58%) | color: hsl(256, 19%, 58%) | |
| HEX | #8A80A8 | color: #8A80A8 | |
| RGB | rgb(138, 128, 168) | color: rgb(138, 128, 168) | |
| CMYK | cmyk(18%, 24%, 0%, 34%) | — | |
| HSV | hsv(255, 24%, 66%) | — | |
| HWB | hwb(255 50% 34%) | color: hwb(255 50% 34%) | |
| OKLCH | oklch(0.6232 0.0605 296.06) | color: oklch(0.6232 0.0605 296.06) | |
| Lab | lab(55.75 12.21 -19.85) | color: lab(55.75 12.21 -19.85) | |
| LCH | lch(55.75 23.3 301.6) | color: lch(55.75 23.3 301.6) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#86869E — rgb(134, 134, 158)
Deuteranopia (Green-blind)
#86879C — rgb(134, 135, 156)
Tritanopia (Blue-blind)
#8A9795 — rgb(138, 151, 149)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(256, 19%, 58%);
text
color: hsl(256, 19%, 58%);
border
border: 2px solid hsl(256, 19%, 58%);
gradient light
background: linear-gradient(to right, hsl(256, 19%, 78%), hsl(256, 19%, 58%));
gradient dark
background: linear-gradient(to right, hsl(256, 19%, 58%), hsl(256, 19%, 38%))
hex
background-color: #8A80A8;
tailwind
bg-[hsl(256,19%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(256, 19%, 58%, 0.4);
css variable
--color-primary: hsl(256, 19%, 58%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(256, 19%, 58%)?
HEX: #8A80A8 | RGB: rgb(138, 128, 168) | CMYK: 18%, 24%, 0%, 34% | HSV: 255°, 24%, 66%. Copy any format from the conversion table above.
What colors go well with #8A80A8?
The complementary color is HSL(76, 19%, 58%). For a triadic harmony, use hues 256°, 16°, and 136°. For analogous combinations, try hues 226° and 286°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(256, 19%, 58%) in CSS?
As HSL: color: hsl(256, 19%, 58%); — As HEX: color: #8A80A8; — As RGB: color: rgb(138, 128, 168); — Tailwind CSS: bg-[hsl(256,19%,58%)] — CSS variable: --color-primary: hsl(256, 19%, 58%);