HSL(251, 7%, 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(251,7%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 7%, 36%) | color: hsl(251, 7%, 36%) | |
| HEX | #585562 | color: #585562 | |
| RGB | rgb(88, 85, 98) | color: rgb(88, 85, 98) | |
| CMYK | cmyk(10%, 13%, 0%, 62%) | — | |
| HSV | hsv(254, 13%, 38%) | — | |
| HWB | hwb(254 33% 62%) | color: hwb(254 33% 62%) | |
| OKLCH | oklch(0.4571 0.0212 296.12) | color: oklch(0.4571 0.0212 296.12) | |
| Lab | lab(36.84 4.08 -7.07) | color: lab(36.84 4.08 -7.07) | |
| LCH | lch(36.84 8.16 299.99) | color: lch(36.84 8.16 299.99) |
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)
#57575F — rgb(87, 87, 95)
Deuteranopia (Green-blind)
#57575E — rgb(87, 87, 94)
Tritanopia (Blue-blind)
#585C5C — rgb(88, 92, 92)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 7%, 36%);
text
color: hsl(251, 7%, 36%);
border
border: 2px solid hsl(251, 7%, 36%);
gradient light
background: linear-gradient(to right, hsl(251, 7%, 56%), hsl(251, 7%, 36%));
gradient dark
background: linear-gradient(to right, hsl(251, 7%, 36%), hsl(251, 7%, 16%))
hex
background-color: #585562;
tailwind
bg-[hsl(251,7%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 7%, 36%, 0.4);
css variable
--color-primary: hsl(251, 7%, 36%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(251, 7%, 36%)?
HEX: #585562 | RGB: rgb(88, 85, 98) | CMYK: 10%, 13%, 0%, 62% | HSV: 254°, 13%, 38%. Copy any format from the conversion table above.
What colors go well with #585562?
The complementary color is HSL(71, 7%, 36%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 7%, 36%) in CSS?
As HSL: color: hsl(251, 7%, 36%); — As HEX: color: #585562; — As RGB: color: rgb(88, 85, 98); — Tailwind CSS: bg-[hsl(251,7%,36%)] — CSS variable: --color-primary: hsl(251, 7%, 36%);