HSL(203, 9%, 35%)

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(203,9%,35%)]

Color Conversions

Format Value CSS Usage
HSL hsl(203, 9%, 35%) color: hsl(203, 9%, 35%)
HEX #515B61 color: #515B61
RGB rgb(81, 91, 97) color: rgb(81, 91, 97)
CMYK cmyk(16%, 6%, 0%, 62%)
HSV hsv(203, 16%, 38%)
HWB hwb(203 32% 62%) color: hwb(203 32% 62%)
OKLCH oklch(0.4646 0.0159 234.06) color: oklch(0.4646 0.0159 234.06)
Lab lab(38.01 -2.48 -4.76) color: lab(38.01 -2.48 -4.76)
LCH lch(38.01 5.37 242.48) color: lch(38.01 5.37 242.48)

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.96:1
vs Black 3.02: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)

#555560 — rgb(85, 85, 96)

Deuteranopia (Green-blind)

#55545F — rgb(85, 84, 95)

Tritanopia (Blue-blind)

#525E5E — rgb(82, 94, 94)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(203, 9%, 35%);

text

color: hsl(203, 9%, 35%);

border

border: 2px solid hsl(203, 9%, 35%);

gradient light

background: linear-gradient(to right, hsl(203, 9%, 55%), hsl(203, 9%, 35%));

gradient dark

background: linear-gradient(to right, hsl(203, 9%, 35%), hsl(203, 9%, 15%))

hex

background-color: #515B61;

tailwind

bg-[hsl(203,9%,35%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(203, 9%, 35%, 0.4);

css variable

--color-primary: hsl(203, 9%, 35%);

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(203, 9%, 35%)?

HEX: #515B61 | RGB: rgb(81, 91, 97) | CMYK: 16%, 6%, 0%, 62% | HSV: 203°, 16%, 38%. Copy any format from the conversion table above.

What colors go well with #515B61?

The complementary color is HSL(23, 9%, 35%). For a triadic harmony, use hues 203°, 323°, and 83°. For analogous combinations, try hues 173° and 233°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(203, 9%, 35%) in CSS?

As HSL: color: hsl(203, 9%, 35%); — As HEX: color: #515B61; — As RGB: color: rgb(81, 91, 97); — Tailwind CSS: bg-[hsl(203,9%,35%)] — CSS variable: --color-primary: hsl(203, 9%, 35%);