HSL(317, 3%, 22%)

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(317,3%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(317, 3%, 22%) color: hsl(317, 3%, 22%)
HEX #3A3639 color: #3A3639
RGB rgb(58, 54, 57) color: rgb(58, 54, 57)
CMYK cmyk(0%, 7%, 2%, 77%)
HSV hsv(315, 7%, 23%)
HWB hwb(315 21% 77%) color: hwb(315 21% 77%)
OKLCH oklch(0.3381 0.0076 334.25) color: oklch(0.3381 0.0076 334.25)
Lab lab(23.11 2.42 -1.25) color: lab(23.11 2.42 -1.25)
LCH lch(23.11 2.72 332.68) color: lch(23.11 2.72 332.68)

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 11.89:1
vs Black 1.77: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)

#383838 — rgb(56, 56, 56)

Deuteranopia (Green-blind)

#393938 — rgb(57, 57, 56)

Tritanopia (Blue-blind)

#3A3838 — rgb(58, 56, 56)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(317, 3%, 22%);

text

color: hsl(317, 3%, 22%);

border

border: 2px solid hsl(317, 3%, 22%);

gradient light

background: linear-gradient(to right, hsl(317, 3%, 42%), hsl(317, 3%, 22%));

gradient dark

background: linear-gradient(to right, hsl(317, 3%, 22%), hsl(317, 3%, 2%))

hex

background-color: #3A3639;

tailwind

bg-[hsl(317,3%,22%)]

box shadow

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

css variable

--color-primary: hsl(317, 3%, 22%);

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(317, 3%, 22%)?

HEX: #3A3639 | RGB: rgb(58, 54, 57) | CMYK: 0%, 7%, 2%, 77% | HSV: 315°, 7%, 23%. Copy any format from the conversion table above.

What colors go well with #3A3639?

The complementary color is HSL(137, 3%, 22%). For a triadic harmony, use hues 317°, 77°, and 197°. For analogous combinations, try hues 287° and 347°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(317, 3%, 22%) in CSS?

As HSL: color: hsl(317, 3%, 22%); — As HEX: color: #3A3639; — As RGB: color: rgb(58, 54, 57); — Tailwind CSS: bg-[hsl(317,3%,22%)] — CSS variable: --color-primary: hsl(317, 3%, 22%);