HSL(189, 9%, 58%)
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(189,9%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(189, 9%, 58%) | color: hsl(189, 9%, 58%) | |
| HEX | #8A9B9E | color: #8A9B9E | |
| RGB | rgb(138, 155, 158) | color: rgb(138, 155, 158) | |
| CMYK | cmyk(13%, 2%, 0%, 38%) | — | |
| HSV | hsv(189, 13%, 62%) | — | |
| HWB | hwb(189 54% 38%) | color: hwb(189 54% 38%) | |
| OKLCH | oklch(0.677 0.0199 209.43) | color: oklch(0.677 0.0199 209.43) | |
| Lab | lab(62.77 -5.37 -3.61) | color: lab(62.77 -5.37 -3.61) | |
| LCH | lch(62.77 6.47 213.91) | color: lch(62.77 6.47 213.91) |
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)
#91929D — rgb(145, 146, 157)
Deuteranopia (Green-blind)
#908F9D — rgb(144, 143, 157)
Tritanopia (Blue-blind)
#8B9D9D — rgb(139, 157, 157)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(189, 9%, 58%);
text
color: hsl(189, 9%, 58%);
border
border: 2px solid hsl(189, 9%, 58%);
gradient light
background: linear-gradient(to right, hsl(189, 9%, 78%), hsl(189, 9%, 58%));
gradient dark
background: linear-gradient(to right, hsl(189, 9%, 58%), hsl(189, 9%, 38%))
hex
background-color: #8A9B9E;
tailwind
bg-[hsl(189,9%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(189, 9%, 58%, 0.4);
css variable
--color-primary: hsl(189, 9%, 58%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(189, 9%, 58%)?
HEX: #8A9B9E | RGB: rgb(138, 155, 158) | CMYK: 13%, 2%, 0%, 38% | HSV: 189°, 13%, 62%. Copy any format from the conversion table above.
What colors go well with #8A9B9E?
The complementary color is HSL(9, 9%, 58%). For a triadic harmony, use hues 189°, 309°, and 69°. For analogous combinations, try hues 159° and 219°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(189, 9%, 58%) in CSS?
As HSL: color: hsl(189, 9%, 58%); — As HEX: color: #8A9B9E; — As RGB: color: rgb(138, 155, 158); — Tailwind CSS: bg-[hsl(189,9%,58%)] — CSS variable: --color-primary: hsl(189, 9%, 58%);