Color specimenNo. 02565930

#27272A

Charcoal

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

RGB
39, 39, 42
HSL
240°, 4%, 16%
Text
White on top

Tailwind CSS · zinc

tailwind · zinc 800

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

Scale context · zinc

Click any step to jump to its landing page.

Class name
zinc-800
Hex
#27272A
Closest CSS named color
darkslategray
Full color breakdown
/color/27272a

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 #27272A as the text color.

14.89:1
AA passAAA passLarge pass

Rating · AAA

On black

The quick brown fox

Jumps over the lazy dog. Testing readability of #27272A as the text color.

1.41:1
AA failAAA failLarge fail

Rating · Fail

Recommendation

When using #27272A as a background, pair it with #ffffff 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 zinc