HSL(243, 7%, 35%)

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(243,7%,35%)]

Color Conversions

Format Value CSS Usage
HSL hsl(243, 7%, 35%) color: hsl(243, 7%, 35%)
HEX #54535F color: #54535F
RGB rgb(84, 83, 95) color: rgb(84, 83, 95)
CMYK cmyk(12%, 13%, 0%, 63%)
HSV hsv(245, 13%, 37%)
HWB hwb(245 32% 63%) color: hwb(245 32% 63%)
OKLCH oklch(0.4476 0.0195 289.41) color: oklch(0.4476 0.0195 289.41)
Lab lab(35.79 3.1 -6.81) color: lab(35.79 3.1 -6.81)
LCH lch(35.79 7.48 294.48) color: lch(35.79 7.48 294.48)

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.56:1
vs Black 2.78: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)

#54545C — rgb(84, 84, 92)

Deuteranopia (Green-blind)

#54545B — rgb(84, 84, 91)

Tritanopia (Blue-blind)

#545A59 — rgb(84, 90, 89)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(243, 7%, 35%);

text

color: hsl(243, 7%, 35%);

border

border: 2px solid hsl(243, 7%, 35%);

gradient light

background: linear-gradient(to right, hsl(243, 7%, 55%), hsl(243, 7%, 35%));

gradient dark

background: linear-gradient(to right, hsl(243, 7%, 35%), hsl(243, 7%, 15%))

hex

background-color: #54535F;

tailwind

bg-[hsl(243,7%,35%)]

box shadow

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

css variable

--color-primary: hsl(243, 7%, 35%);

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(243, 7%, 35%)?

HEX: #54535F | RGB: rgb(84, 83, 95) | CMYK: 12%, 13%, 0%, 63% | HSV: 245°, 13%, 37%. Copy any format from the conversion table above.

What colors go well with #54535F?

The complementary color is HSL(63, 7%, 35%). For a triadic harmony, use hues 243°, 3°, and 123°. For analogous combinations, try hues 213° and 273°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(243, 7%, 35%) in CSS?

As HSL: color: hsl(243, 7%, 35%); — As HEX: color: #54535F; — As RGB: color: rgb(84, 83, 95); — Tailwind CSS: bg-[hsl(243,7%,35%)] — CSS variable: --color-primary: hsl(243, 7%, 35%);