HSL(221, 6%, 57%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(221,6%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 6%, 57%) | color: hsl(221, 6%, 57%) | |
| HEX | #8B8F98 | color: #8B8F98 | |
| RGB | rgb(139, 143, 152) | color: rgb(139, 143, 152) | |
| CMYK | cmyk(9%, 6%, 0%, 40%) | — | |
| HSV | hsv(222, 9%, 60%) | — | |
| HWB | hwb(222 55% 40%) | color: hwb(222 55% 40%) | |
| OKLCH | oklch(0.6496 0.0141 266.65) | color: oklch(0.6496 0.0141 266.65) | |
| Lab | lab(59.34 0.39 -5.27) | color: lab(59.34 0.39 -5.27) | |
| LCH | lch(59.34 5.28 274.23) | color: lch(59.34 5.28 274.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)
#8D8D96 — rgb(141, 141, 150)
Deuteranopia (Green-blind)
#8D8C95 — rgb(141, 140, 149)
Tritanopia (Blue-blind)
#8B9494 — rgb(139, 148, 148)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 6%, 57%);
text
color: hsl(221, 6%, 57%);
border
border: 2px solid hsl(221, 6%, 57%);
gradient light
background: linear-gradient(to right, hsl(221, 6%, 77%), hsl(221, 6%, 57%));
gradient dark
background: linear-gradient(to right, hsl(221, 6%, 57%), hsl(221, 6%, 37%))
hex
background-color: #8B8F98;
tailwind
bg-[hsl(221,6%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 6%, 57%, 0.4);
css variable
--color-primary: hsl(221, 6%, 57%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(221, 6%, 57%)?
HEX: #8B8F98 | RGB: rgb(139, 143, 152) | CMYK: 9%, 6%, 0%, 40% | HSV: 222°, 9%, 60%. Copy any format from the conversion table above.
What colors go well with #8B8F98?
The complementary color is HSL(41, 6%, 57%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(221, 6%, 57%) in CSS?
As HSL: color: hsl(221, 6%, 57%); — As HEX: color: #8B8F98; — As RGB: color: rgb(139, 143, 152); — Tailwind CSS: bg-[hsl(221,6%,57%)] — CSS variable: --color-primary: hsl(221, 6%, 57%);