HSL(211, 7%, 24%)

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(211,7%,24%)]

Color Conversions

Format Value CSS Usage
HSL hsl(211, 7%, 24%) color: hsl(211, 7%, 24%)
HEX #393D41 color: #393D41
RGB rgb(57, 61, 65) color: rgb(57, 61, 65)
CMYK cmyk(12%, 6%, 0%, 75%)
HSV hsv(210, 12%, 25%)
HWB hwb(210 22% 75%) color: hwb(210 22% 75%)
OKLCH oklch(0.3577 0.0088 248.07) color: oklch(0.3577 0.0088 248.07)
Lab lab(25.53 -0.71 -3.03) color: lab(25.53 -0.71 -3.03)
LCH lch(25.53 3.11 256.81) color: lch(25.53 3.11 256.81)

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 10.95:1
vs Black 1.92: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)

#3B3B40 — rgb(59, 59, 64)

Deuteranopia (Green-blind)

#3B3A40 — rgb(59, 58, 64)

Tritanopia (Blue-blind)

#393F3F — rgb(57, 63, 63)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(211, 7%, 24%);

text

color: hsl(211, 7%, 24%);

border

border: 2px solid hsl(211, 7%, 24%);

gradient light

background: linear-gradient(to right, hsl(211, 7%, 44%), hsl(211, 7%, 24%));

gradient dark

background: linear-gradient(to right, hsl(211, 7%, 24%), hsl(211, 7%, 4%))

hex

background-color: #393D41;

tailwind

bg-[hsl(211,7%,24%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(211, 7%, 24%, 0.4);

css variable

--color-primary: hsl(211, 7%, 24%);

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(211, 7%, 24%)?

HEX: #393D41 | RGB: rgb(57, 61, 65) | CMYK: 12%, 6%, 0%, 75% | HSV: 210°, 12%, 25%. Copy any format from the conversion table above.

What colors go well with #393D41?

The complementary color is HSL(31, 7%, 24%). For a triadic harmony, use hues 211°, 331°, and 91°. For analogous combinations, try hues 181° and 241°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(211, 7%, 24%) in CSS?

As HSL: color: hsl(211, 7%, 24%); — As HEX: color: #393D41; — As RGB: color: rgb(57, 61, 65); — Tailwind CSS: bg-[hsl(211,7%,24%)] — CSS variable: --color-primary: hsl(211, 7%, 24%);