Color specimenNo. 10265519

#9CA3AF

Muted Blue

A deterministic reference card for #9CA3AF. Every value, scheme, and snippet below is computed from the hex — no database, no guesswork.

RGB
156, 163, 175
HSL
218°, 11%, 65%
Text
Black on top

Tailwind CSS · gray

tailwind · gray 400

The Tailwind CSS utility classes bg-gray-400, text-gray-400, and friends all reference this hex value.

Scale context · gray

Click any step to jump to its landing page.

Class name
gray-400
Hex
#9CA3AF
Closest CSS named color
darkgray
Full color breakdown
/color/9ca3af

Developer snippets

Copy-ready code

Every snippet below is generated from the hex — not a hand-maintained table.

Conversions

Same color, seven encodings

Nearest matches

Closest in other design systems

Accessibility

Contrast against white & black

On white

The quick brown fox

Jumps over the lazy dog. Testing readability of #9CA3AF as the text color.

2.54:1
AA failAAA failLarge fail

Rating · Fail

On black

The quick brown fox

Jumps over the lazy dog. Testing readability of #9CA3AF as the text color.

8.27:1
AA passAAA passLarge pass

Rating · AAA

Recommendation

When using #9CA3AF as a background, pair it with #000000 text for the best WCAG contrast.

Contrast ratios only — one part of WCAG 2.1. Not a certification of accessibility or legal compliance.

Related Tailwind swatches

Other stops in gray