HSL(239, 9%, 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(239,9%,36%)]

Color Conversions

Format Value CSS Usage
HSL hsl(239, 9%, 36%) color: hsl(239, 9%, 36%)
HEX #545464 color: #545464
RGB rgb(84, 84, 100) color: rgb(84, 84, 100)
CMYK cmyk(16%, 16%, 0%, 61%)
HSV hsv(240, 16%, 39%)
HWB hwb(240 33% 61%) color: hwb(240 33% 61%)
OKLCH oklch(0.4519 0.0259 285.32) color: oklch(0.4519 0.0259 285.32)
Lab lab(36.26 3.69 -9.22) color: lab(36.26 3.69 -9.22)
LCH lch(36.26 9.93 291.81) color: lch(36.26 9.93 291.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 7.42:1
vs Black 2.83: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)

#545460 — rgb(84, 84, 96)

Deuteranopia (Green-blind)

#54545F — rgb(84, 84, 95)

Tritanopia (Blue-blind)

#545D5C — rgb(84, 93, 92)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(239, 9%, 36%);

text

color: hsl(239, 9%, 36%);

border

border: 2px solid hsl(239, 9%, 36%);

gradient light

background: linear-gradient(to right, hsl(239, 9%, 56%), hsl(239, 9%, 36%));

gradient dark

background: linear-gradient(to right, hsl(239, 9%, 36%), hsl(239, 9%, 16%))

hex

background-color: #545464;

tailwind

bg-[hsl(239,9%,36%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(239, 9%, 36%, 0.4);

css variable

--color-primary: hsl(239, 9%, 36%);

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(239, 9%, 36%)?

HEX: #545464 | RGB: rgb(84, 84, 100) | CMYK: 16%, 16%, 0%, 61% | HSV: 240°, 16%, 39%. Copy any format from the conversion table above.

What colors go well with #545464?

The complementary color is HSL(59, 9%, 36%). For a triadic harmony, use hues 239°, 359°, and 119°. For analogous combinations, try hues 209° and 269°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(239, 9%, 36%) in CSS?

As HSL: color: hsl(239, 9%, 36%); — As HEX: color: #545464; — As RGB: color: rgb(84, 84, 100); — Tailwind CSS: bg-[hsl(239,9%,36%)] — CSS variable: --color-primary: hsl(239, 9%, 36%);