HSL(232, 8%, 33%)

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(232,8%,33%)]

Color Conversions

Format Value CSS Usage
HSL hsl(232, 8%, 33%) color: hsl(232, 8%, 33%)
HEX #4D4F5B color: #4D4F5B
RGB rgb(77, 79, 91) color: rgb(77, 79, 91)
CMYK cmyk(15%, 13%, 0%, 64%)
HSV hsv(231, 15%, 36%)
HWB hwb(231 31% 64%) color: hwb(231 31% 64%)
OKLCH oklch(0.4303 0.0199 278.04) color: oklch(0.4303 0.0199 278.04)
Lab lab(33.83 2 -7.29) color: lab(33.83 2 -7.29)
LCH lch(33.83 7.56 285.34) color: lch(33.83 7.56 285.34)

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.12:1
vs Black 2.59: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)

#4E4E58 — rgb(78, 78, 88)

Deuteranopia (Green-blind)

#4E4E57 — rgb(78, 78, 87)

Tritanopia (Blue-blind)

#4D5655 — rgb(77, 86, 85)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(232, 8%, 33%);

text

color: hsl(232, 8%, 33%);

border

border: 2px solid hsl(232, 8%, 33%);

gradient light

background: linear-gradient(to right, hsl(232, 8%, 53%), hsl(232, 8%, 33%));

gradient dark

background: linear-gradient(to right, hsl(232, 8%, 33%), hsl(232, 8%, 13%))

hex

background-color: #4D4F5B;

tailwind

bg-[hsl(232,8%,33%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(232, 8%, 33%, 0.4);

css variable

--color-primary: hsl(232, 8%, 33%);

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(232, 8%, 33%)?

HEX: #4D4F5B | RGB: rgb(77, 79, 91) | CMYK: 15%, 13%, 0%, 64% | HSV: 231°, 15%, 36%. Copy any format from the conversion table above.

What colors go well with #4D4F5B?

The complementary color is HSL(52, 8%, 33%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(232, 8%, 33%) in CSS?

As HSL: color: hsl(232, 8%, 33%); — As HEX: color: #4D4F5B; — As RGB: color: rgb(77, 79, 91); — Tailwind CSS: bg-[hsl(232,8%,33%)] — CSS variable: --color-primary: hsl(232, 8%, 33%);