HSL(277, 14%, 54%)
Grayish Indigo — Indigo color
Adjust Color
Color Information
Color Name
Grayish Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(277,14%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 14%, 54%) | color: hsl(277, 14%, 54%) | |
| HEX | #8E799A | color: #8E799A | |
| RGB | rgb(142, 121, 154) | color: rgb(142, 121, 154) | |
| CMYK | cmyk(8%, 21%, 0%, 40%) | — | |
| HSV | hsv(278, 21%, 60%) | — | |
| HWB | hwb(278 47% 40%) | color: hwb(278 47% 40%) | |
| OKLCH | oklch(0.6071 0.0547 313.17) | color: oklch(0.6071 0.0547 313.17) | |
| Lab | lab(53.77 14.52 -14.74) | color: lab(53.77 14.52 -14.74) | |
| LCH | lch(53.77 20.69 314.57) | color: lch(53.77 20.69 314.57) |
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)
#858592 — rgb(133, 133, 146)
Deuteranopia (Green-blind)
#868890 — rgb(134, 136, 144)
Tritanopia (Blue-blind)
#8D8C8A — rgb(141, 140, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 14%, 54%);
text
color: hsl(277, 14%, 54%);
border
border: 2px solid hsl(277, 14%, 54%);
gradient light
background: linear-gradient(to right, hsl(277, 14%, 74%), hsl(277, 14%, 54%));
gradient dark
background: linear-gradient(to right, hsl(277, 14%, 54%), hsl(277, 14%, 34%))
hex
background-color: #8E799A;
tailwind
bg-[hsl(277,14%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 14%, 54%, 0.4);
css variable
--color-primary: hsl(277, 14%, 54%);
Related Colors
Use Cases for Grayish Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 14%, 54%)?
HEX: #8E799A | RGB: rgb(142, 121, 154) | CMYK: 8%, 21%, 0%, 40% | HSV: 278°, 21%, 60%. Copy any format from the conversion table above.
What colors go well with #8E799A?
The complementary color is HSL(97, 14%, 54%). 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, 14%, 54%) in CSS?
As HSL: color: hsl(277, 14%, 54%); — As HEX: color: #8E799A; — As RGB: color: rgb(142, 121, 154); — Tailwind CSS: bg-[hsl(277,14%,54%)] — CSS variable: --color-primary: hsl(277, 14%, 54%);