HSL(305, 3%, 20%)

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(305,3%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(305, 3%, 20%) color: hsl(305, 3%, 20%)
HEX #353134 color: #353134
RGB rgb(53, 49, 52) color: rgb(53, 49, 52)
CMYK cmyk(0%, 8%, 2%, 79%)
HSV hsv(315, 8%, 21%)
HWB hwb(315 19% 79%) color: hwb(315 19% 79%)
OKLCH oklch(0.3185 0.0077 334.28) color: oklch(0.3185 0.0077 334.28)
Lab lab(20.83 2.46 -1.26) color: lab(20.83 2.46 -1.26)
LCH lch(20.83 2.76 332.88) color: lch(20.83 2.76 332.88)

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 12.8:1
vs Black 1.64: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)

#333333 — rgb(51, 51, 51)

Deuteranopia (Green-blind)

#343433 — rgb(52, 52, 51)

Tritanopia (Blue-blind)

#353333 — rgb(53, 51, 51)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(305, 3%, 20%);

text

color: hsl(305, 3%, 20%);

border

border: 2px solid hsl(305, 3%, 20%);

gradient light

background: linear-gradient(to right, hsl(305, 3%, 40%), hsl(305, 3%, 20%));

gradient dark

background: linear-gradient(to right, hsl(305, 3%, 20%), hsl(305, 3%, 0%))

hex

background-color: #353134;

tailwind

bg-[hsl(305,3%,20%)]

box shadow

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

css variable

--color-primary: hsl(305, 3%, 20%);

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(305, 3%, 20%)?

HEX: #353134 | RGB: rgb(53, 49, 52) | CMYK: 0%, 8%, 2%, 79% | HSV: 315°, 8%, 21%. Copy any format from the conversion table above.

What colors go well with #353134?

The complementary color is HSL(125, 3%, 20%). For a triadic harmony, use hues 305°, 65°, and 185°. For analogous combinations, try hues 275° and 335°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(305, 3%, 20%) in CSS?

As HSL: color: hsl(305, 3%, 20%); — As HEX: color: #353134; — As RGB: color: rgb(53, 49, 52); — Tailwind CSS: bg-[hsl(305,3%,20%)] — CSS variable: --color-primary: hsl(305, 3%, 20%);