HSL(277, 15%, 52%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(277,15%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 15%, 52%) | color: hsl(277, 15%, 52%) | |
| HEX | #897297 | color: #897297 | |
| RGB | rgb(137, 114, 151) | color: rgb(137, 114, 151) | |
| CMYK | cmyk(9%, 25%, 0%, 41%) | — | |
| HSV | hsv(277, 25%, 59%) | — | |
| HWB | hwb(277 44% 41%) | color: hwb(277 44% 41%) | |
| OKLCH | oklch(0.5871 0.0614 312.48) | color: oklch(0.5871 0.0614 312.48) | |
| Lab | lab(51.37 16.24 -16.68) | color: lab(51.37 16.24 -16.68) | |
| LCH | lch(51.37 23.28 314.23) | color: lch(51.37 23.28 314.23) |
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)
#7F7F8E — rgb(127, 127, 142)
Deuteranopia (Green-blind)
#80828C — rgb(128, 130, 140)
Tritanopia (Blue-blind)
#888785 — rgb(136, 135, 133)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 15%, 52%);
text
color: hsl(277, 15%, 52%);
border
border: 2px solid hsl(277, 15%, 52%);
gradient light
background: linear-gradient(to right, hsl(277, 15%, 72%), hsl(277, 15%, 52%));
gradient dark
background: linear-gradient(to right, hsl(277, 15%, 52%), hsl(277, 15%, 32%))
hex
background-color: #897297;
tailwind
bg-[hsl(277,15%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 15%, 52%, 0.4);
css variable
--color-primary: hsl(277, 15%, 52%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 15%, 52%)?
HEX: #897297 | RGB: rgb(137, 114, 151) | CMYK: 9%, 25%, 0%, 41% | HSV: 277°, 25%, 59%. Copy any format from the conversion table above.
What colors go well with #897297?
The complementary color is HSL(97, 15%, 52%). For a triadic harmony, use hues 277°, 37°, and 157°. For analogous combinations, try hues 247° and 307°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(277, 15%, 52%) in CSS?
As HSL: color: hsl(277, 15%, 52%); — As HEX: color: #897297; — As RGB: color: rgb(137, 114, 151); — Tailwind CSS: bg-[hsl(277,15%,52%)] — CSS variable: --color-primary: hsl(277, 15%, 52%);