HSL(251, 6%, 36%)

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(251,6%,36%)]

Color Conversions

Format Value CSS Usage
HSL hsl(251, 6%, 36%) color: hsl(251, 6%, 36%)
HEX #585661 color: #585661
RGB rgb(88, 86, 97) color: rgb(88, 86, 97)
CMYK cmyk(9%, 11%, 0%, 62%)
HSV hsv(251, 11%, 38%)
HWB hwb(251 34% 62%) color: hwb(251 34% 62%)
OKLCH oklch(0.459 0.0178 294.03) color: oklch(0.459 0.0178 294.03)
Lab lab(37.1 3.23 -6.05) color: lab(37.1 3.23 -6.05)
LCH lch(37.1 6.86 298.1) color: lch(37.1 6.86 298.1)

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.2:1
vs Black 2.92: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)

#57575E — rgb(87, 87, 94)

Deuteranopia (Green-blind)

#57575E — rgb(87, 87, 94)

Tritanopia (Blue-blind)

#585C5C — rgb(88, 92, 92)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(251, 6%, 36%);

text

color: hsl(251, 6%, 36%);

border

border: 2px solid hsl(251, 6%, 36%);

gradient light

background: linear-gradient(to right, hsl(251, 6%, 56%), hsl(251, 6%, 36%));

gradient dark

background: linear-gradient(to right, hsl(251, 6%, 36%), hsl(251, 6%, 16%))

hex

background-color: #585661;

tailwind

bg-[hsl(251,6%,36%)]

box shadow

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

css variable

--color-primary: hsl(251, 6%, 36%);

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(251, 6%, 36%)?

HEX: #585661 | RGB: rgb(88, 86, 97) | CMYK: 9%, 11%, 0%, 62% | HSV: 251°, 11%, 38%. Copy any format from the conversion table above.

What colors go well with #585661?

The complementary color is HSL(71, 6%, 36%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(251, 6%, 36%) in CSS?

As HSL: color: hsl(251, 6%, 36%); — As HEX: color: #585661; — As RGB: color: rgb(88, 86, 97); — Tailwind CSS: bg-[hsl(251,6%,36%)] — CSS variable: --color-primary: hsl(251, 6%, 36%);