HSL(232, 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(232,9%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 9%, 58%) | color: hsl(232, 9%, 58%) | |
| HEX | #8A8D9E | color: #8A8D9E | |
| RGB | rgb(138, 141, 158) | color: rgb(138, 141, 158) | |
| CMYK | cmyk(13%, 11%, 0%, 38%) | — | |
| HSV | hsv(231, 13%, 62%) | — | |
| HWB | hwb(231 54% 38%) | color: hwb(231 54% 38%) | |
| OKLCH | oklch(0.6466 0.0255 277.72) | color: oklch(0.6466 0.0255 277.72) | |
| Lab | lab(58.9 2.46 -9.36) | color: lab(58.9 2.46 -9.36) | |
| LCH | lch(58.9 9.68 284.73) | color: lch(58.9 9.68 284.73) |
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)
#8B8B9A — rgb(139, 139, 154)
Deuteranopia (Green-blind)
#8B8B99 — rgb(139, 139, 153)
Tritanopia (Blue-blind)
#8A9796 — rgb(138, 151, 150)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 9%, 58%);
text
color: hsl(232, 9%, 58%);
border
border: 2px solid hsl(232, 9%, 58%);
gradient light
background: linear-gradient(to right, hsl(232, 9%, 78%), hsl(232, 9%, 58%));
gradient dark
background: linear-gradient(to right, hsl(232, 9%, 58%), hsl(232, 9%, 38%))
hex
background-color: #8A8D9E;
tailwind
bg-[hsl(232,9%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 9%, 58%, 0.4);
css variable
--color-primary: hsl(232, 9%, 58%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(232, 9%, 58%)?
HEX: #8A8D9E | RGB: rgb(138, 141, 158) | CMYK: 13%, 11%, 0%, 38% | HSV: 231°, 13%, 62%. Copy any format from the conversion table above.
What colors go well with #8A8D9E?
The complementary color is HSL(52, 9%, 58%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 9%, 58%) in CSS?
As HSL: color: hsl(232, 9%, 58%); — As HEX: color: #8A8D9E; — As RGB: color: rgb(138, 141, 158); — Tailwind CSS: bg-[hsl(232,9%,58%)] — CSS variable: --color-primary: hsl(232, 9%, 58%);