HSL(267, 17%, 52%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(267,17%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 17%, 52%) | color: hsl(267, 17%, 52%) | |
| HEX | #837099 | color: #837099 | |
| RGB | rgb(131, 112, 153) | color: rgb(131, 112, 153) | |
| CMYK | cmyk(14%, 27%, 0%, 40%) | — | |
| HSV | hsv(268, 27%, 60%) | — | |
| HWB | hwb(268 44% 40%) | color: hwb(268 44% 40%) | |
| OKLCH | oklch(0.5781 0.0654 305.57) | color: oklch(0.5781 0.0654 305.57) | |
| Lab | lab(50.35 15.81 -19.46) | color: lab(50.35 15.81 -19.46) | |
| LCH | lch(50.35 25.07 309.09) | color: lch(50.35 25.07 309.09) |
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)
#7B7B8F — rgb(123, 123, 143)
Deuteranopia (Green-blind)
#7C7D8D — rgb(124, 125, 141)
Tritanopia (Blue-blind)
#828786 — rgb(130, 135, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 17%, 52%);
text
color: hsl(267, 17%, 52%);
border
border: 2px solid hsl(267, 17%, 52%);
gradient light
background: linear-gradient(to right, hsl(267, 17%, 72%), hsl(267, 17%, 52%));
gradient dark
background: linear-gradient(to right, hsl(267, 17%, 52%), hsl(267, 17%, 32%))
hex
background-color: #837099;
tailwind
bg-[hsl(267,17%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 17%, 52%, 0.4);
css variable
--color-primary: hsl(267, 17%, 52%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 17%, 52%)?
HEX: #837099 | RGB: rgb(131, 112, 153) | CMYK: 14%, 27%, 0%, 40% | HSV: 268°, 27%, 60%. Copy any format from the conversion table above.
What colors go well with #837099?
The complementary color is HSL(87, 17%, 52%). 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, 17%, 52%) in CSS?
As HSL: color: hsl(267, 17%, 52%); — As HEX: color: #837099; — As RGB: color: rgb(131, 112, 153); — Tailwind CSS: bg-[hsl(267,17%,52%)] — CSS variable: --color-primary: hsl(267, 17%, 52%);