HSL(57, 2%, 28%)

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

Color Conversions

Format Value CSS Usage
HSL hsl(57, 2%, 28%) color: hsl(57, 2%, 28%)
HEX #494946 color: #494946
RGB rgb(73, 73, 70) color: rgb(73, 73, 70)
CMYK cmyk(0%, 0%, 4%, 71%)
HSV hsv(60, 4%, 29%)
HWB hwb(60 28% 71%) color: hwb(60 28% 71%)
OKLCH oklch(0.4044 0.0049 106.62) color: oklch(0.4044 0.0049 106.62)
Lab lab(30.93 -0.65 1.79) color: lab(30.93 -0.65 1.79)
LCH lch(30.93 1.9 109.96) color: lch(30.93 1.9 109.96)

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.03:1
vs Black 2.32: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)

#494947 — rgb(73, 73, 71)

Deuteranopia (Green-blind)

#494947 — rgb(73, 73, 71)

Tritanopia (Blue-blind)

#494747 — rgb(73, 71, 71)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #494946;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(57, 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(57, 2%, 28%)?

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

What colors go well with #494946?

The complementary color is HSL(237, 2%, 28%). For a triadic harmony, use hues 57°, 177°, and 297°. For analogous combinations, try hues 27° and 87°. See the Color Harmony section above for complete palettes with previews.

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

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