HSL(235, 3%, 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(235,3%,33%)]

Color Conversions

Format Value CSS Usage
HSL hsl(235, 3%, 33%) color: hsl(235, 3%, 33%)
HEX #525257 color: #525257
RGB rgb(82, 82, 87) color: rgb(82, 82, 87)
CMYK cmyk(6%, 6%, 0%, 66%)
HSV hsv(240, 6%, 34%)
HWB hwb(240 32% 66%) color: hwb(240 32% 66%)
OKLCH oklch(0.4404 0.0081 286.06) color: oklch(0.4404 0.0081 286.06)
Lab lab(35.04 1.1 -2.92) color: lab(35.04 1.1 -2.92)
LCH lch(35.04 3.12 290.64) color: lch(35.04 3.12 290.64)

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.77:1
vs Black 2.7: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)

#525256 — rgb(82, 82, 86)

Deuteranopia (Green-blind)

#525256 — rgb(82, 82, 86)

Tritanopia (Blue-blind)

#525555 — rgb(82, 85, 85)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(235, 3%, 33%);

text

color: hsl(235, 3%, 33%);

border

border: 2px solid hsl(235, 3%, 33%);

gradient light

background: linear-gradient(to right, hsl(235, 3%, 53%), hsl(235, 3%, 33%));

gradient dark

background: linear-gradient(to right, hsl(235, 3%, 33%), hsl(235, 3%, 13%))

hex

background-color: #525257;

tailwind

bg-[hsl(235,3%,33%)]

box shadow

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

css variable

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

HEX: #525257 | RGB: rgb(82, 82, 87) | CMYK: 6%, 6%, 0%, 66% | HSV: 240°, 6%, 34%. Copy any format from the conversion table above.

What colors go well with #525257?

The complementary color is HSL(55, 3%, 33%). For a triadic harmony, use hues 235°, 355°, and 115°. For analogous combinations, try hues 205° and 265°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(235, 3%, 33%) in CSS?

As HSL: color: hsl(235, 3%, 33%); — As HEX: color: #525257; — As RGB: color: rgb(82, 82, 87); — Tailwind CSS: bg-[hsl(235,3%,33%)] — CSS variable: --color-primary: hsl(235, 3%, 33%);