HSL(162, 7%, 25%)

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(162,7%,25%)]

Color Conversions

Format Value CSS Usage
HSL hsl(162, 7%, 25%) color: hsl(162, 7%, 25%)
HEX #3B4442 color: #3B4442
RGB rgb(59, 68, 66) color: rgb(59, 68, 66)
CMYK cmyk(13%, 0%, 3%, 73%)
HSV hsv(167, 13%, 27%)
HWB hwb(167 23% 73%) color: hwb(167 23% 73%)
OKLCH oklch(0.3778 0.0123 180.76) color: oklch(0.3778 0.0123 180.76)
Lab lab(28 -4.15 -0.04) color: lab(28 -4.15 -0.04)
LCH lch(28 4.15 180.55) color: lch(28 4.15 180.55)

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 10.04:1
vs Black 2.09: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)

#3F3F42 — rgb(63, 63, 66)

Deuteranopia (Green-blind)

#3E3E43 — rgb(62, 62, 67)

Tritanopia (Blue-blind)

#3B4343 — rgb(59, 67, 67)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(162, 7%, 25%);

text

color: hsl(162, 7%, 25%);

border

border: 2px solid hsl(162, 7%, 25%);

gradient light

background: linear-gradient(to right, hsl(162, 7%, 45%), hsl(162, 7%, 25%));

gradient dark

background: linear-gradient(to right, hsl(162, 7%, 25%), hsl(162, 7%, 5%))

hex

background-color: #3B4442;

tailwind

bg-[hsl(162,7%,25%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(162, 7%, 25%, 0.4);

css variable

--color-primary: hsl(162, 7%, 25%);

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(162, 7%, 25%)?

HEX: #3B4442 | RGB: rgb(59, 68, 66) | CMYK: 13%, 0%, 3%, 73% | HSV: 167°, 13%, 27%. Copy any format from the conversion table above.

What colors go well with #3B4442?

The complementary color is HSL(342, 7%, 25%). For a triadic harmony, use hues 162°, 282°, and 42°. For analogous combinations, try hues 132° and 192°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(162, 7%, 25%) in CSS?

As HSL: color: hsl(162, 7%, 25%); — As HEX: color: #3B4442; — As RGB: color: rgb(59, 68, 66); — Tailwind CSS: bg-[hsl(162,7%,25%)] — CSS variable: --color-primary: hsl(162, 7%, 25%);