HSL(257, 22%, 60%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,22%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 22%, 60%) | color: hsl(257, 22%, 60%) | |
| HEX | #8F83AF | color: #8F83AF | |
| RGB | rgb(143, 131, 175) | color: rgb(143, 131, 175) | |
| CMYK | cmyk(18%, 25%, 0%, 31%) | — | |
| HSV | hsv(256, 25%, 69%) | — | |
| HWB | hwb(256 52% 31%) | color: hwb(256 52% 31%) | |
| OKLCH | oklch(0.6366 0.0663 296.99) | color: oklch(0.6366 0.0663 296.99) | |
| Lab | lab(57.24 13.73 -21.56) | color: lab(57.24 13.73 -21.56) | |
| LCH | lch(57.24 25.56 302.49) | color: lch(57.24 25.56 302.49) |
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)
#8A8AA4 — rgb(138, 138, 164)
Deuteranopia (Green-blind)
#8B8BA2 — rgb(139, 139, 162)
Tritanopia (Blue-blind)
#8E9C9A — rgb(142, 156, 154)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 22%, 60%);
text
color: hsl(257, 22%, 60%);
border
border: 2px solid hsl(257, 22%, 60%);
gradient light
background: linear-gradient(to right, hsl(257, 22%, 80%), hsl(257, 22%, 60%));
gradient dark
background: linear-gradient(to right, hsl(257, 22%, 60%), hsl(257, 22%, 40%))
hex
background-color: #8F83AF;
tailwind
bg-[hsl(257,22%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 22%, 60%, 0.4);
css variable
--color-primary: hsl(257, 22%, 60%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 22%, 60%)?
HEX: #8F83AF | RGB: rgb(143, 131, 175) | CMYK: 18%, 25%, 0%, 31% | HSV: 256°, 25%, 69%. Copy any format from the conversion table above.
What colors go well with #8F83AF?
The complementary color is HSL(77, 22%, 60%). 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, 22%, 60%) in CSS?
As HSL: color: hsl(257, 22%, 60%); — As HEX: color: #8F83AF; — As RGB: color: rgb(143, 131, 175); — Tailwind CSS: bg-[hsl(257,22%,60%)] — CSS variable: --color-primary: hsl(257, 22%, 60%);