HSL(218, 0%, 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(218,0%,33%)]

Color Conversions

Format Value CSS Usage
HSL hsl(218, 0%, 33%) color: hsl(218, 0%, 33%)
HEX #545454 color: #545454
RGB rgb(84, 84, 84) color: rgb(84, 84, 84)
CMYK cmyk(0%, 0%, 0%, 67%)
HSV hsv(0, 0%, 33%)
HWB hwb(0 33% 67%) color: hwb(0 33% 67%)
OKLCH oklch(0.4459 0 89.88) color: oklch(0.4459 0 89.88)
Lab lab(35.72 -0 0) color: lab(35.72 -0 0)
LCH lch(35.72 0 180) color: lch(35.72 0 180)

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.57:1
vs Black 2.77: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)

#545454 — rgb(84, 84, 84)

Deuteranopia (Green-blind)

#545454 — rgb(84, 84, 84)

Tritanopia (Blue-blind)

#545454 — rgb(84, 84, 84)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(218, 0%, 33%);

text

color: hsl(218, 0%, 33%);

border

border: 2px solid hsl(218, 0%, 33%);

gradient light

background: linear-gradient(to right, hsl(218, 0%, 53%), hsl(218, 0%, 33%));

gradient dark

background: linear-gradient(to right, hsl(218, 0%, 33%), hsl(218, 0%, 13%))

hex

background-color: #545454;

tailwind

bg-[hsl(218,0%,33%)]

box shadow

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

css variable

--color-primary: hsl(218, 0%, 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(218, 0%, 33%)?

HEX: #545454 | RGB: rgb(84, 84, 84) | CMYK: 0%, 0%, 0%, 67% | HSV: 0°, 0%, 33%. Copy any format from the conversion table above.

What colors go well with #545454?

The complementary color is HSL(38, 0%, 33%). For a triadic harmony, use hues 218°, 338°, and 98°. For analogous combinations, try hues 188° and 248°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(218, 0%, 33%) in CSS?

As HSL: color: hsl(218, 0%, 33%); — As HEX: color: #545454; — As RGB: color: rgb(84, 84, 84); — Tailwind CSS: bg-[hsl(218,0%,33%)] — CSS variable: --color-primary: hsl(218, 0%, 33%);