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

Color Conversions

Format Value CSS Usage
HSL hsl(233, 9%, 35%) color: hsl(233, 9%, 35%)
HEX #515361 color: #515361
RGB rgb(81, 83, 97) color: rgb(81, 83, 97)
CMYK cmyk(16%, 14%, 0%, 62%)
HSV hsv(233, 16%, 38%)
HWB hwb(233 32% 62%) color: hwb(233 32% 62%)
OKLCH oklch(0.4457 0.023 279) color: oklch(0.4457 0.023 279)
Lab lab(35.59 2.46 -8.38) color: lab(35.59 2.46 -8.38)
LCH lch(35.59 8.73 286.36) color: lch(35.59 8.73 286.36)

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.61:1
vs Black 2.76: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)

#52525E — rgb(82, 82, 94)

Deuteranopia (Green-blind)

#52525D — rgb(82, 82, 93)

Tritanopia (Blue-blind)

#515B5A — rgb(81, 91, 90)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #515361;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(233, 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(233, 9%, 35%)?

HEX: #515361 | RGB: rgb(81, 83, 97) | CMYK: 16%, 14%, 0%, 62% | HSV: 233°, 16%, 38%. Copy any format from the conversion table above.

What colors go well with #515361?

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

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

As HSL: color: hsl(233, 9%, 35%); — As HEX: color: #515361; — As RGB: color: rgb(81, 83, 97); — Tailwind CSS: bg-[hsl(233,9%,35%)] — CSS variable: --color-primary: hsl(233, 9%, 35%);