HSL(237, 5%, 61%)
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%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 5%, 61%) | color: hsl(237, 5%, 61%) | |
| HEX | #9797A1 | color: #9797A1 | |
| RGB | rgb(151, 151, 161) | color: rgb(151, 151, 161) | |
| CMYK | cmyk(6%, 6%, 0%, 37%) | — | |
| HSV | hsv(240, 6%, 63%) | — | |
| HWB | hwb(240 59% 37%) | color: hwb(240 59% 37%) | |
| OKLCH | oklch(0.6796 0.0146 286.01) | color: oklch(0.6796 0.0146 286.01) | |
| Lab | lab(62.75 1.99 -5.23) | color: lab(62.75 1.99 -5.23) | |
| LCH | lch(62.75 5.6 290.83) | color: lch(62.75 5.6 290.83) |
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)
#97979F — rgb(151, 151, 159)
Deuteranopia (Green-blind)
#97979E — rgb(151, 151, 158)
Tritanopia (Blue-blind)
#979D9C — rgb(151, 157, 156)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 5%, 61%);
text
color: hsl(237, 5%, 61%);
border
border: 2px solid hsl(237, 5%, 61%);
gradient light
background: linear-gradient(to right, hsl(237, 5%, 81%), hsl(237, 5%, 61%));
gradient dark
background: linear-gradient(to right, hsl(237, 5%, 61%), hsl(237, 5%, 41%))
hex
background-color: #9797A1;
tailwind
bg-[hsl(237,5%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 5%, 61%, 0.4);
css variable
--color-primary: hsl(237, 5%, 61%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(237, 5%, 61%)?
HEX: #9797A1 | RGB: rgb(151, 151, 161) | CMYK: 6%, 6%, 0%, 37% | HSV: 240°, 6%, 63%. Copy any format from the conversion table above.
What colors go well with #9797A1?
The complementary color is HSL(57, 5%, 61%). 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%, 61%) in CSS?
As HSL: color: hsl(237, 5%, 61%); — As HEX: color: #9797A1; — As RGB: color: rgb(151, 151, 161); — Tailwind CSS: bg-[hsl(237,5%,61%)] — CSS variable: --color-primary: hsl(237, 5%, 61%);