HSL(221, 6%, 63%)

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(221,6%,63%)]

Color Conversions

Format Value CSS Usage
HSL hsl(221, 6%, 63%) color: hsl(221, 6%, 63%)
HEX #9B9FA6 color: #9B9FA6
RGB rgb(155, 159, 166) color: rgb(155, 159, 166)
CMYK cmyk(7%, 4%, 0%, 35%)
HSV hsv(218, 7%, 65%)
HWB hwb(218 60% 35%) color: hwb(218 60% 35%)
OKLCH oklch(0.7014 0.0112 261.78) color: oklch(0.7014 0.0112 261.78)
Lab lab(65.37 -0.04 -4.13) color: lab(65.37 -0.04 -4.13)
LCH lch(65.37 4.13 269.45) color: lch(65.37 4.13 269.45)

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 2.66:1
vs Black 7.9:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#9D9DA4 — rgb(157, 157, 164)

Deuteranopia (Green-blind)

#9D9CA4 — rgb(157, 156, 164)

Tritanopia (Blue-blind)

#9BA3A3 — rgb(155, 163, 163)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(221, 6%, 63%);

text

color: hsl(221, 6%, 63%);

border

border: 2px solid hsl(221, 6%, 63%);

gradient light

background: linear-gradient(to right, hsl(221, 6%, 83%), hsl(221, 6%, 63%));

gradient dark

background: linear-gradient(to right, hsl(221, 6%, 63%), hsl(221, 6%, 43%))

hex

background-color: #9B9FA6;

tailwind

bg-[hsl(221,6%,63%)]

box shadow

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

css variable

--color-primary: hsl(221, 6%, 63%);

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(221, 6%, 63%)?

HEX: #9B9FA6 | RGB: rgb(155, 159, 166) | CMYK: 7%, 4%, 0%, 35% | HSV: 218°, 7%, 65%. Copy any format from the conversion table above.

What colors go well with #9B9FA6?

The complementary color is HSL(41, 6%, 63%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(221, 6%, 63%) in CSS?

As HSL: color: hsl(221, 6%, 63%); — As HEX: color: #9B9FA6; — As RGB: color: rgb(155, 159, 166); — Tailwind CSS: bg-[hsl(221,6%,63%)] — CSS variable: --color-primary: hsl(221, 6%, 63%);