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

Color Conversions

Format Value CSS Usage
HSL hsl(156, 8%, 27%) color: hsl(156, 8%, 27%)
HEX #3F4A46 color: #3F4A46
RGB rgb(63, 74, 70) color: rgb(63, 74, 70)
CMYK cmyk(15%, 0%, 5%, 71%)
HSV hsv(158, 15%, 29%)
HWB hwb(158 25% 71%) color: hwb(158 25% 71%)
OKLCH oklch(0.3979 0.0157 171.56) color: oklch(0.3979 0.0157 171.56)
Lab lab(30.39 -5.36 0.9) color: lab(30.39 -5.36 0.9)
LCH lch(30.39 5.44 170.47) color: lch(30.39 5.44 170.47)

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.21:1
vs Black 2.28: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)

#444447 — rgb(68, 68, 71)

Deuteranopia (Green-blind)

#434247 — rgb(67, 66, 71)

Tritanopia (Blue-blind)

#404848 — rgb(64, 72, 72)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #3F4A46;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(156, 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(156, 8%, 27%)?

HEX: #3F4A46 | RGB: rgb(63, 74, 70) | CMYK: 15%, 0%, 5%, 71% | HSV: 158°, 15%, 29%. Copy any format from the conversion table above.

What colors go well with #3F4A46?

The complementary color is HSL(336, 8%, 27%). For a triadic harmony, use hues 156°, 276°, and 36°. For analogous combinations, try hues 126° and 186°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(156, 8%, 27%); — As HEX: color: #3F4A46; — As RGB: color: rgb(63, 74, 70); — Tailwind CSS: bg-[hsl(156,8%,27%)] — CSS variable: --color-primary: hsl(156, 8%, 27%);