HSL(255, 5%, 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(255,5%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(255, 5%, 36%) | color: hsl(255, 5%, 36%) | |
| HEX | #5A5760 | color: #5A5760 | |
| RGB | rgb(90, 87, 96) | color: rgb(90, 87, 96) | |
| CMYK | cmyk(6%, 9%, 0%, 62%) | — | |
| HSV | hsv(260, 9%, 38%) | — | |
| HWB | hwb(260 35% 62%) | color: hwb(260 35% 62%) | |
| OKLCH | oklch(0.4628 0.0148 300.98) | color: oklch(0.4628 0.0148 300.98) | |
| Lab | lab(37.54 3.15 -4.75) | color: lab(37.54 3.15 -4.75) | |
| LCH | lch(37.54 5.7 303.55) | color: lch(37.54 5.7 303.55) |
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)
#59595E — rgb(89, 89, 94)
Deuteranopia (Green-blind)
#59595D — rgb(89, 89, 93)
Tritanopia (Blue-blind)
#5A5C5C — rgb(90, 92, 92)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(255, 5%, 36%);
text
color: hsl(255, 5%, 36%);
border
border: 2px solid hsl(255, 5%, 36%);
gradient light
background: linear-gradient(to right, hsl(255, 5%, 56%), hsl(255, 5%, 36%));
gradient dark
background: linear-gradient(to right, hsl(255, 5%, 36%), hsl(255, 5%, 16%))
hex
background-color: #5A5760;
tailwind
bg-[hsl(255,5%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(255, 5%, 36%, 0.4);
css variable
--color-primary: hsl(255, 5%, 36%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(255, 5%, 36%)?
HEX: #5A5760 | RGB: rgb(90, 87, 96) | CMYK: 6%, 9%, 0%, 62% | HSV: 260°, 9%, 38%. Copy any format from the conversion table above.
What colors go well with #5A5760?
The complementary color is HSL(75, 5%, 36%). For a triadic harmony, use hues 255°, 15°, and 135°. For analogous combinations, try hues 225° and 285°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(255, 5%, 36%) in CSS?
As HSL: color: hsl(255, 5%, 36%); — As HEX: color: #5A5760; — As RGB: color: rgb(90, 87, 96); — Tailwind CSS: bg-[hsl(255,5%,36%)] — CSS variable: --color-primary: hsl(255, 5%, 36%);