Color specimenNo. 16317180

#F8FAFC

Near White Blue

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

RGB
248, 250, 252
HSL
210°, 40%, 98%
Text
Black on top

Tailwind CSS · slate

tailwind · slate 50

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

Scale context · slate

Click any step to jump to its landing page.

Class name
slate-50
Hex
#F8FAFC
Closest CSS named color
ghostwhite
Full color breakdown
/color/f8fafc

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

1.05:1
AA failAAA failLarge fail

Rating · Fail

On black

The quick brown fox

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

20.07:1
AA passAAA passLarge pass

Rating · AAA

Recommendation

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