HSL(97, 6%, 37%)

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(97,6%,37%)]

Color Conversions

Format Value CSS Usage
HSL hsl(97, 6%, 37%) color: hsl(97, 6%, 37%)
HEX #5D6459 color: #5D6459
RGB rgb(93, 100, 89) color: rgb(93, 100, 89)
CMYK cmyk(7%, 0%, 11%, 61%)
HSV hsv(98, 11%, 39%)
HWB hwb(98 35% 61%) color: hwb(98 35% 61%)
OKLCH oklch(0.4936 0.0192 133.96) color: oklch(0.4936 0.0192 133.96)
Lab lab(41.47 -5 5.32) color: lab(41.47 -5 5.32)
LCH lch(41.47 7.3 133.22) color: lch(41.47 7.3 133.22)

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 6.12:1
vs Black 3.43:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#60605C — rgb(96, 96, 92)

Deuteranopia (Green-blind)

#605F5C — rgb(96, 95, 92)

Tritanopia (Blue-blind)

#5D5E5E — rgb(93, 94, 94)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(97, 6%, 37%);

text

color: hsl(97, 6%, 37%);

border

border: 2px solid hsl(97, 6%, 37%);

gradient light

background: linear-gradient(to right, hsl(97, 6%, 57%), hsl(97, 6%, 37%));

gradient dark

background: linear-gradient(to right, hsl(97, 6%, 37%), hsl(97, 6%, 17%))

hex

background-color: #5D6459;

tailwind

bg-[hsl(97,6%,37%)]

box shadow

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

css variable

--color-primary: hsl(97, 6%, 37%);

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(97, 6%, 37%)?

HEX: #5D6459 | RGB: rgb(93, 100, 89) | CMYK: 7%, 0%, 11%, 61% | HSV: 98°, 11%, 39%. Copy any format from the conversion table above.

What colors go well with #5D6459?

The complementary color is HSL(277, 6%, 37%). For a triadic harmony, use hues 97°, 217°, and 337°. For analogous combinations, try hues 67° and 127°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(97, 6%, 37%) in CSS?

As HSL: color: hsl(97, 6%, 37%); — As HEX: color: #5D6459; — As RGB: color: rgb(93, 100, 89); — Tailwind CSS: bg-[hsl(97,6%,37%)] — CSS variable: --color-primary: hsl(97, 6%, 37%);