HSL(267, 22%, 57%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,22%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 22%, 57%) | color: hsl(267, 22%, 57%) | |
| HEX | #8F79A9 | color: #8F79A9 | |
| RGB | rgb(143, 121, 169) | color: rgb(143, 121, 169) | |
| CMYK | cmyk(15%, 28%, 0%, 34%) | — | |
| HSV | hsv(268, 28%, 66%) | — | |
| HWB | hwb(268 48% 34%) | color: hwb(268 48% 34%) | |
| OKLCH | oklch(0.6142 0.0752 305.22) | color: oklch(0.6142 0.0752 305.22) | |
| Lab | lab(54.43 18.18 -22.42) | color: lab(54.43 18.18 -22.42) | |
| LCH | lch(54.43 28.86 309.04) | color: lch(54.43 28.86 309.04) |
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)
#85859D — rgb(133, 133, 157)
Deuteranopia (Green-blind)
#87889B — rgb(135, 136, 155)
Tritanopia (Blue-blind)
#8E9492 — rgb(142, 148, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 22%, 57%);
text
color: hsl(267, 22%, 57%);
border
border: 2px solid hsl(267, 22%, 57%);
gradient light
background: linear-gradient(to right, hsl(267, 22%, 77%), hsl(267, 22%, 57%));
gradient dark
background: linear-gradient(to right, hsl(267, 22%, 57%), hsl(267, 22%, 37%))
hex
background-color: #8F79A9;
tailwind
bg-[hsl(267,22%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 22%, 57%, 0.4);
css variable
--color-primary: hsl(267, 22%, 57%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 22%, 57%)?
HEX: #8F79A9 | RGB: rgb(143, 121, 169) | CMYK: 15%, 28%, 0%, 34% | HSV: 268°, 28%, 66%. Copy any format from the conversion table above.
What colors go well with #8F79A9?
The complementary color is HSL(87, 22%, 57%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(267, 22%, 57%) in CSS?
As HSL: color: hsl(267, 22%, 57%); — As HEX: color: #8F79A9; — As RGB: color: rgb(143, 121, 169); — Tailwind CSS: bg-[hsl(267,22%,57%)] — CSS variable: --color-primary: hsl(267, 22%, 57%);