HSL(228, 7%, 32%)
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(228,7%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(228, 7%, 32%) | color: hsl(228, 7%, 32%) | |
| HEX | #4C4E57 | color: #4C4E57 | |
| RGB | rgb(76, 78, 87) | color: rgb(76, 78, 87) | |
| CMYK | cmyk(13%, 10%, 0%, 66%) | — | |
| HSV | hsv(229, 13%, 34%) | — | |
| HWB | hwb(229 30% 66%) | color: hwb(229 30% 66%) | |
| OKLCH | oklch(0.4254 0.0151 275.78) | color: oklch(0.4254 0.0151 275.78) | |
| Lab | lab(33.29 1.27 -5.56) | color: lab(33.29 1.27 -5.56) | |
| LCH | lch(33.29 5.7 282.87) | color: lch(33.29 5.7 282.87) |
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)
#4D4D55 — rgb(77, 77, 85)
Deuteranopia (Green-blind)
#4D4D54 — rgb(77, 77, 84)
Tritanopia (Blue-blind)
#4C5353 — rgb(76, 83, 83)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(228, 7%, 32%);
text
color: hsl(228, 7%, 32%);
border
border: 2px solid hsl(228, 7%, 32%);
gradient light
background: linear-gradient(to right, hsl(228, 7%, 52%), hsl(228, 7%, 32%));
gradient dark
background: linear-gradient(to right, hsl(228, 7%, 32%), hsl(228, 7%, 12%))
hex
background-color: #4C4E57;
tailwind
bg-[hsl(228,7%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(228, 7%, 32%, 0.4);
css variable
--color-primary: hsl(228, 7%, 32%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(228, 7%, 32%)?
HEX: #4C4E57 | RGB: rgb(76, 78, 87) | CMYK: 13%, 10%, 0%, 66% | HSV: 229°, 13%, 34%. Copy any format from the conversion table above.
What colors go well with #4C4E57?
The complementary color is HSL(48, 7%, 32%). For a triadic harmony, use hues 228°, 348°, and 108°. For analogous combinations, try hues 198° and 258°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(228, 7%, 32%) in CSS?
As HSL: color: hsl(228, 7%, 32%); — As HEX: color: #4C4E57; — As RGB: color: rgb(76, 78, 87); — Tailwind CSS: bg-[hsl(228,7%,32%)] — CSS variable: --color-primary: hsl(228, 7%, 32%);