HSL(237, 5%, 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(237,5%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 5%, 57%) | color: hsl(237, 5%, 57%) | |
| HEX | #8C8C97 | color: #8C8C97 | |
| RGB | rgb(140, 140, 151) | color: rgb(140, 140, 151) | |
| CMYK | cmyk(7%, 7%, 0%, 41%) | — | |
| HSV | hsv(240, 7%, 59%) | — | |
| HWB | hwb(240 55% 41%) | color: hwb(240 55% 41%) | |
| OKLCH | oklch(0.6437 0.0162 285.93) | color: oklch(0.6437 0.0162 285.93) | |
| Lab | lab(58.57 2.23 -5.83) | color: lab(58.57 2.23 -5.83) | |
| LCH | lch(58.57 6.24 290.93) | color: lch(58.57 6.24 290.93) |
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)
#8C8C94 — rgb(140, 140, 148)
Deuteranopia (Green-blind)
#8C8C94 — rgb(140, 140, 148)
Tritanopia (Blue-blind)
#8C9292 — rgb(140, 146, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 5%, 57%);
text
color: hsl(237, 5%, 57%);
border
border: 2px solid hsl(237, 5%, 57%);
gradient light
background: linear-gradient(to right, hsl(237, 5%, 77%), hsl(237, 5%, 57%));
gradient dark
background: linear-gradient(to right, hsl(237, 5%, 57%), hsl(237, 5%, 37%))
hex
background-color: #8C8C97;
tailwind
bg-[hsl(237,5%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 5%, 57%, 0.4);
css variable
--color-primary: hsl(237, 5%, 57%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(237, 5%, 57%)?
HEX: #8C8C97 | RGB: rgb(140, 140, 151) | CMYK: 7%, 7%, 0%, 41% | HSV: 240°, 7%, 59%. Copy any format from the conversion table above.
What colors go well with #8C8C97?
The complementary color is HSL(57, 5%, 57%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 5%, 57%) in CSS?
As HSL: color: hsl(237, 5%, 57%); — As HEX: color: #8C8C97; — As RGB: color: rgb(140, 140, 151); — Tailwind CSS: bg-[hsl(237,5%,57%)] — CSS variable: --color-primary: hsl(237, 5%, 57%);