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

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 8.29:1
vs Black 2.53:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

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

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

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

Neutral backgrounds Body text Borders Secondary buttons Disabled states

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%);