HSL(337, 2%, 35%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(337,2%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(337, 2%, 35%) | color: hsl(337, 2%, 35%) | |
| HEX | #5B5759 | color: #5B5759 | |
| RGB | rgb(91, 87, 89) | color: rgb(91, 87, 89) | |
| CMYK | cmyk(0%, 4%, 2%, 64%) | — | |
| HSV | hsv(330, 4%, 36%) | — | |
| HWB | hwb(330 35% 64%) | color: hwb(330 35% 64%) | |
| OKLCH | oklch(0.4612 0.006 345.48) | color: oklch(0.4612 0.006 345.48) | |
| Lab | lab(37.41 2.03 -0.58) | color: lab(37.41 2.03 -0.58) | |
| LCH | lch(37.41 2.11 344.05) | color: lch(37.41 2.11 344.05) |
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)
#595959 — rgb(89, 89, 89)
Deuteranopia (Green-blind)
#5A5A58 — rgb(90, 90, 88)
Tritanopia (Blue-blind)
#5B5858 — rgb(91, 88, 88)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(337, 2%, 35%);
text
color: hsl(337, 2%, 35%);
border
border: 2px solid hsl(337, 2%, 35%);
gradient light
background: linear-gradient(to right, hsl(337, 2%, 55%), hsl(337, 2%, 35%));
gradient dark
background: linear-gradient(to right, hsl(337, 2%, 35%), hsl(337, 2%, 15%))
hex
background-color: #5B5759;
tailwind
bg-[hsl(337,2%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(337, 2%, 35%, 0.4);
css variable
--color-primary: hsl(337, 2%, 35%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(337, 2%, 35%)?
HEX: #5B5759 | RGB: rgb(91, 87, 89) | CMYK: 0%, 4%, 2%, 64% | HSV: 330°, 4%, 36%. Copy any format from the conversion table above.
What colors go well with #5B5759?
The complementary color is HSL(157, 2%, 35%). For a triadic harmony, use hues 337°, 97°, and 217°. For analogous combinations, try hues 307° and 7°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(337, 2%, 35%) in CSS?
As HSL: color: hsl(337, 2%, 35%); — As HEX: color: #5B5759; — As RGB: color: rgb(91, 87, 89); — Tailwind CSS: bg-[hsl(337,2%,35%)] — CSS variable: --color-primary: hsl(337, 2%, 35%);