Color specimenNo. 00132631

#020617

Bright Near Black Blue

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

RGB
2, 6, 23
HSL
229°, 84%, 5%
Text
White on top

Tailwind CSS · slate

tailwind · slate 950

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

Scale context · slate

Click any step to jump to its landing page.

Class name
slate-950
Hex
#020617
Closest CSS named color
black
Full color breakdown
/color/020617

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

20.17:1
AA passAAA passLarge pass

Rating · AAA

On black

The quick brown fox

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

1.04:1
AA failAAA failLarge fail

Rating · Fail

Recommendation

When using #020617 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 slate