HSL(331, 3%, 34%)

Grayish Gray — Gray color

Adjust Color

Color Information

Color Name

Grayish Gray

Color Family

Gray

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(331,3%,34%)]

Color Conversions

Format Value CSS Usage
HSL hsl(331, 3%, 34%) color: hsl(331, 3%, 34%)
HEX #595457 color: #595457
RGB rgb(89, 84, 87) color: rgb(89, 84, 87)
CMYK cmyk(0%, 6%, 2%, 65%)
HSV hsv(324, 6%, 35%)
HWB hwb(324 33% 65%) color: hwb(324 33% 65%)
OKLCH oklch(0.4517 0.008 340.63) color: oklch(0.4517 0.008 340.63)
Lab lab(36.28 2.65 -1.02) color: lab(36.28 2.65 -1.02)
LCH lch(36.28 2.84 338.95) color: lch(36.28 2.84 338.95)

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)

#575756 — rgb(87, 87, 86)

Deuteranopia (Green-blind)

#575856 — rgb(87, 88, 86)

Tritanopia (Blue-blind)

#595656 — rgb(89, 86, 86)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(331, 3%, 34%);

text

color: hsl(331, 3%, 34%);

border

border: 2px solid hsl(331, 3%, 34%);

gradient light

background: linear-gradient(to right, hsl(331, 3%, 54%), hsl(331, 3%, 34%));

gradient dark

background: linear-gradient(to right, hsl(331, 3%, 34%), hsl(331, 3%, 14%))

hex

background-color: #595457;

tailwind

bg-[hsl(331,3%,34%)]

box shadow

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

css variable

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

HEX: #595457 | RGB: rgb(89, 84, 87) | CMYK: 0%, 6%, 2%, 65% | HSV: 324°, 6%, 35%. Copy any format from the conversion table above.

What colors go well with #595457?

The complementary color is HSL(151, 3%, 34%). For a triadic harmony, use hues 331°, 91°, and 211°. For analogous combinations, try hues 301° and 1°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(331, 3%, 34%) in CSS?

As HSL: color: hsl(331, 3%, 34%); — As HEX: color: #595457; — As RGB: color: rgb(89, 84, 87); — Tailwind CSS: bg-[hsl(331,3%,34%)] — CSS variable: --color-primary: hsl(331, 3%, 34%);