HSL(213, 8%, 64%)

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(213,8%,64%)]

Color Conversions

Format Value CSS Usage
HSL hsl(213, 8%, 64%) color: hsl(213, 8%, 64%)
HEX #9CA2AB color: #9CA2AB
RGB rgb(156, 162, 171) color: rgb(156, 162, 171)
CMYK cmyk(9%, 5%, 0%, 33%)
HSV hsv(216, 9%, 67%)
HWB hwb(216 61% 33%) color: hwb(216 61% 33%)
OKLCH oklch(0.7102 0.0148 258.36) color: oklch(0.7102 0.0148 258.36)
Lab lab(66.4 -0.32 -5.39) color: lab(66.4 -0.32 -5.39)
LCH lch(66.4 5.4 266.6) color: lch(66.4 5.4 266.6)

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.57:1
vs Black 8.17: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)

#9F9FA9 — rgb(159, 159, 169)

Deuteranopia (Green-blind)

#9E9EA8 — rgb(158, 158, 168)

Tritanopia (Blue-blind)

#9CA7A7 — rgb(156, 167, 167)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(213, 8%, 64%);

text

color: hsl(213, 8%, 64%);

border

border: 2px solid hsl(213, 8%, 64%);

gradient light

background: linear-gradient(to right, hsl(213, 8%, 84%), hsl(213, 8%, 64%));

gradient dark

background: linear-gradient(to right, hsl(213, 8%, 64%), hsl(213, 8%, 44%))

hex

background-color: #9CA2AB;

tailwind

bg-[hsl(213,8%,64%)]

box shadow

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

css variable

--color-primary: hsl(213, 8%, 64%);

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(213, 8%, 64%)?

HEX: #9CA2AB | RGB: rgb(156, 162, 171) | CMYK: 9%, 5%, 0%, 33% | HSV: 216°, 9%, 67%. Copy any format from the conversion table above.

What colors go well with #9CA2AB?

The complementary color is HSL(33, 8%, 64%). For a triadic harmony, use hues 213°, 333°, and 93°. For analogous combinations, try hues 183° and 243°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(213, 8%, 64%) in CSS?

As HSL: color: hsl(213, 8%, 64%); — As HEX: color: #9CA2AB; — As RGB: color: rgb(156, 162, 171); — Tailwind CSS: bg-[hsl(213,8%,64%)] — CSS variable: --color-primary: hsl(213, 8%, 64%);