HSL(97, 3%, 36%)
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(97,3%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 3%, 36%) | color: hsl(97, 3%, 36%) | |
| HEX | #5B5F59 | color: #5B5F59 | |
| RGB | rgb(91, 95, 89) | color: rgb(91, 95, 89) | |
| CMYK | cmyk(4%, 0%, 6%, 63%) | — | |
| HSV | hsv(100, 6%, 37%) | — | |
| HWB | hwb(100 35% 63%) | color: hwb(100 35% 63%) | |
| OKLCH | oklch(0.48 0.0107 134.94) | color: oklch(0.48 0.0107 134.94) | |
| Lab | lab(39.8 -2.83 2.89) | color: lab(39.8 -2.83 2.89) | |
| LCH | lch(39.8 4.04 134.4) | color: lch(39.8 4.04 134.4) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#5D5D5A — rgb(93, 93, 90)
Deuteranopia (Green-blind)
#5D5C5B — rgb(93, 92, 91)
Tritanopia (Blue-blind)
#5B5C5C — rgb(91, 92, 92)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(97, 3%, 36%);
text
color: hsl(97, 3%, 36%);
border
border: 2px solid hsl(97, 3%, 36%);
gradient light
background: linear-gradient(to right, hsl(97, 3%, 56%), hsl(97, 3%, 36%));
gradient dark
background: linear-gradient(to right, hsl(97, 3%, 36%), hsl(97, 3%, 16%))
hex
background-color: #5B5F59;
tailwind
bg-[hsl(97,3%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 3%, 36%, 0.4);
css variable
--color-primary: hsl(97, 3%, 36%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(97, 3%, 36%)?
HEX: #5B5F59 | RGB: rgb(91, 95, 89) | CMYK: 4%, 0%, 6%, 63% | HSV: 100°, 6%, 37%. Copy any format from the conversion table above.
What colors go well with #5B5F59?
The complementary color is HSL(277, 3%, 36%). For a triadic harmony, use hues 97°, 217°, and 337°. For analogous combinations, try hues 67° and 127°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(97, 3%, 36%) in CSS?
As HSL: color: hsl(97, 3%, 36%); — As HEX: color: #5B5F59; — As RGB: color: rgb(91, 95, 89); — Tailwind CSS: bg-[hsl(97,3%,36%)] — CSS variable: --color-primary: hsl(97, 3%, 36%);