HSL(215, 5%, 34%)

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(215,5%,34%)]

Color Conversions

Format Value CSS Usage
HSL hsl(215, 5%, 34%) color: hsl(215, 5%, 34%)
HEX #52565B color: #52565B
RGB rgb(82, 86, 91) color: rgb(82, 86, 91)
CMYK cmyk(10%, 5%, 0%, 64%)
HSV hsv(213, 10%, 36%)
HWB hwb(213 32% 64%) color: hwb(213 32% 64%)
OKLCH oklch(0.4513 0.0096 253.93) color: oklch(0.4513 0.0096 253.93)
Lab lab(36.38 -0.46 -3.45) color: lab(36.38 -0.46 -3.45)
LCH lch(36.38 3.48 262.41) color: lch(36.38 3.48 262.41)

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.39:1
vs Black 2.84: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)

#54545A — rgb(84, 84, 90)

Deuteranopia (Green-blind)

#54535A — rgb(84, 83, 90)

Tritanopia (Blue-blind)

#525959 — rgb(82, 89, 89)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(215, 5%, 34%);

text

color: hsl(215, 5%, 34%);

border

border: 2px solid hsl(215, 5%, 34%);

gradient light

background: linear-gradient(to right, hsl(215, 5%, 54%), hsl(215, 5%, 34%));

gradient dark

background: linear-gradient(to right, hsl(215, 5%, 34%), hsl(215, 5%, 14%))

hex

background-color: #52565B;

tailwind

bg-[hsl(215,5%,34%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(215, 5%, 34%, 0.4);

css variable

--color-primary: hsl(215, 5%, 34%);

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(215, 5%, 34%)?

HEX: #52565B | RGB: rgb(82, 86, 91) | CMYK: 10%, 5%, 0%, 64% | HSV: 213°, 10%, 36%. Copy any format from the conversion table above.

What colors go well with #52565B?

The complementary color is HSL(35, 5%, 34%). For a triadic harmony, use hues 215°, 335°, and 95°. For analogous combinations, try hues 185° and 245°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(215, 5%, 34%) in CSS?

As HSL: color: hsl(215, 5%, 34%); — As HEX: color: #52565B; — As RGB: color: rgb(82, 86, 91); — Tailwind CSS: bg-[hsl(215,5%,34%)] — CSS variable: --color-primary: hsl(215, 5%, 34%);