HSL(116, 8%, 27%)

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(116,8%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(116, 8%, 27%) color: hsl(116, 8%, 27%)
HEX #404A3F color: #404A3F
RGB rgb(64, 74, 63) color: rgb(64, 74, 63)
CMYK cmyk(14%, 0%, 15%, 71%)
HSV hsv(115, 15%, 29%)
HWB hwb(115 25% 71%) color: hwb(115 25% 71%)
OKLCH oklch(0.3965 0.0223 142.65) color: oklch(0.3965 0.0223 142.65)
Lab lab(30.27 -6.51 5.23) color: lab(30.27 -6.51 5.23)
LCH lch(30.27 8.35 141.22) color: lch(30.27 8.35 141.22)

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.25:1
vs Black 2.27: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)

#444442 — rgb(68, 68, 66)

Deuteranopia (Green-blind)

#444342 — rgb(68, 67, 66)

Tritanopia (Blue-blind)

#414444 — rgb(65, 68, 68)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(116, 8%, 27%);

text

color: hsl(116, 8%, 27%);

border

border: 2px solid hsl(116, 8%, 27%);

gradient light

background: linear-gradient(to right, hsl(116, 8%, 47%), hsl(116, 8%, 27%));

gradient dark

background: linear-gradient(to right, hsl(116, 8%, 27%), hsl(116, 8%, 7%))

hex

background-color: #404A3F;

tailwind

bg-[hsl(116,8%,27%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(116, 8%, 27%, 0.4);

css variable

--color-primary: hsl(116, 8%, 27%);

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(116, 8%, 27%)?

HEX: #404A3F | RGB: rgb(64, 74, 63) | CMYK: 14%, 0%, 15%, 71% | HSV: 115°, 15%, 29%. Copy any format from the conversion table above.

What colors go well with #404A3F?

The complementary color is HSL(296, 8%, 27%). For a triadic harmony, use hues 116°, 236°, and 356°. For analogous combinations, try hues 86° and 146°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(116, 8%, 27%) in CSS?

As HSL: color: hsl(116, 8%, 27%); — As HEX: color: #404A3F; — As RGB: color: rgb(64, 74, 63); — Tailwind CSS: bg-[hsl(116,8%,27%)] — CSS variable: --color-primary: hsl(116, 8%, 27%);