HSL(232, 4%, 50%)

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(232,4%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(232, 4%, 50%) color: hsl(232, 4%, 50%)
HEX #7A7C85 color: #7A7C85
RGB rgb(122, 124, 133) color: rgb(122, 124, 133)
CMYK cmyk(8%, 7%, 0%, 48%)
HSV hsv(229, 8%, 52%)
HWB hwb(229 48% 48%) color: hwb(229 48% 48%)
OKLCH oklch(0.5876 0.0139 275.95) color: oklch(0.5876 0.0139 275.95)
Lab lab(52.11 1.13 -5.14) color: lab(52.11 1.13 -5.14)
LCH lch(52.11 5.26 282.4) color: lch(52.11 5.26 282.4)

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 4.16:1
vs Black 5.05:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#7B7B83 — rgb(123, 123, 131)

Deuteranopia (Green-blind)

#7B7B82 — rgb(123, 123, 130)

Tritanopia (Blue-blind)

#7A8181 — rgb(122, 129, 129)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(232, 4%, 50%);

text

color: hsl(232, 4%, 50%);

border

border: 2px solid hsl(232, 4%, 50%);

gradient light

background: linear-gradient(to right, hsl(232, 4%, 70%), hsl(232, 4%, 50%));

gradient dark

background: linear-gradient(to right, hsl(232, 4%, 50%), hsl(232, 4%, 30%))

hex

background-color: #7A7C85;

tailwind

bg-[hsl(232,4%,50%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(232, 4%, 50%, 0.4);

css variable

--color-primary: hsl(232, 4%, 50%);

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(232, 4%, 50%)?

HEX: #7A7C85 | RGB: rgb(122, 124, 133) | CMYK: 8%, 7%, 0%, 48% | HSV: 229°, 8%, 52%. Copy any format from the conversion table above.

What colors go well with #7A7C85?

The complementary color is HSL(52, 4%, 50%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(232, 4%, 50%) in CSS?

As HSL: color: hsl(232, 4%, 50%); — As HEX: color: #7A7C85; — As RGB: color: rgb(122, 124, 133); — Tailwind CSS: bg-[hsl(232,4%,50%)] — CSS variable: --color-primary: hsl(232, 4%, 50%);