HSL(97, 2%, 28%)

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(97,2%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(97, 2%, 28%) color: hsl(97, 2%, 28%)
HEX #474946 color: #474946
RGB rgb(71, 73, 70) color: rgb(71, 73, 70)
CMYK cmyk(3%, 0%, 4%, 71%)
HSV hsv(100, 4%, 29%)
HWB hwb(100 28% 71%) color: hwb(100 28% 71%)
OKLCH oklch(0.4025 0.0056 134.9) color: oklch(0.4025 0.0056 134.9)
Lab lab(30.75 -1.48 1.51) color: lab(30.75 -1.48 1.51)
LCH lch(30.75 2.11 134.43) color: lch(30.75 2.11 134.43)

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 9.09:1
vs Black 2.31: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)

#484847 — rgb(72, 72, 71)

Deuteranopia (Green-blind)

#484847 — rgb(72, 72, 71)

Tritanopia (Blue-blind)

#474747 — rgb(71, 71, 71)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(97, 2%, 28%);

text

color: hsl(97, 2%, 28%);

border

border: 2px solid hsl(97, 2%, 28%);

gradient light

background: linear-gradient(to right, hsl(97, 2%, 48%), hsl(97, 2%, 28%));

gradient dark

background: linear-gradient(to right, hsl(97, 2%, 28%), hsl(97, 2%, 8%))

hex

background-color: #474946;

tailwind

bg-[hsl(97,2%,28%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(97, 2%, 28%, 0.4);

css variable

--color-primary: hsl(97, 2%, 28%);

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(97, 2%, 28%)?

HEX: #474946 | RGB: rgb(71, 73, 70) | CMYK: 3%, 0%, 4%, 71% | HSV: 100°, 4%, 29%. Copy any format from the conversion table above.

What colors go well with #474946?

The complementary color is HSL(277, 2%, 28%). For a triadic harmony, use hues 97°, 217°, and 337°. For analogous combinations, try hues 67° and 127°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(97, 2%, 28%) in CSS?

As HSL: color: hsl(97, 2%, 28%); — As HEX: color: #474946; — As RGB: color: rgb(71, 73, 70); — Tailwind CSS: bg-[hsl(97,2%,28%)] — CSS variable: --color-primary: hsl(97, 2%, 28%);