HSL(285, 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(285,5%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(285, 5%, 36%) | color: hsl(285, 5%, 36%) | |
| HEX | #5E5760 | color: #5E5760 | |
| RGB | rgb(94, 87, 96) | color: rgb(94, 87, 96) | |
| CMYK | cmyk(2%, 9%, 0%, 62%) | — | |
| HSV | hsv(287, 9%, 38%) | — | |
| HWB | hwb(287 35% 62%) | color: hwb(287 35% 62%) | |
| OKLCH | oklch(0.4666 0.0168 318.68) | color: oklch(0.4666 0.0168 318.68) | |
| Lab | lab(37.92 4.71 -4.16) | color: lab(37.92 4.71 -4.16) | |
| LCH | lch(37.92 6.28 318.55) | color: lch(37.92 6.28 318.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)
#5B5B5E — rgb(91, 91, 94)
Deuteranopia (Green-blind)
#5B5C5D — rgb(91, 92, 93)
Tritanopia (Blue-blind)
#5E5C5C — rgb(94, 92, 92)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(285, 5%, 36%);
text
color: hsl(285, 5%, 36%);
border
border: 2px solid hsl(285, 5%, 36%);
gradient light
background: linear-gradient(to right, hsl(285, 5%, 56%), hsl(285, 5%, 36%));
gradient dark
background: linear-gradient(to right, hsl(285, 5%, 36%), hsl(285, 5%, 16%))
hex
background-color: #5E5760;
tailwind
bg-[hsl(285,5%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(285, 5%, 36%, 0.4);
css variable
--color-primary: hsl(285, 5%, 36%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(285, 5%, 36%)?
HEX: #5E5760 | RGB: rgb(94, 87, 96) | CMYK: 2%, 9%, 0%, 62% | HSV: 287°, 9%, 38%. Copy any format from the conversion table above.
What colors go well with #5E5760?
The complementary color is HSL(105, 5%, 36%). For a triadic harmony, use hues 285°, 45°, and 165°. For analogous combinations, try hues 255° and 315°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(285, 5%, 36%) in CSS?
As HSL: color: hsl(285, 5%, 36%); — As HEX: color: #5E5760; — As RGB: color: rgb(94, 87, 96); — Tailwind CSS: bg-[hsl(285,5%,36%)] — CSS variable: --color-primary: hsl(285, 5%, 36%);