#F9FAFB — Tints, Shades & Color Values

#F9FAFB

#F9FAFB is a very light, muted blue. In Tailwind CSS this exact color is the utility class gray-50 (e.g. bg-gray-50, text-gray-50). Its nearest CSS named color is ghostwhite (#f8f8ff). For readable text on a #F9FAFB background, black text gives the strongest contrast (20.10:1). Because it is so light, #F9FAFB works best as a background or surface color paired with dark text, or as a high-percentage tint in an existing palette.

Want to fine-tune this color interactively? Open #F9FAFB in the tint & shade generator to explore the full lightness, hue, and chroma scales and copy any step.

Color Values

Hex#F9FAFB
RGBrgb(249, 250, 251)
HSLhsl(210, 20%, 98%)
HSV / HSB210°, 1%, 98%
Nearest namedghostwhite (#f8f8ff)

Need these in another format? Use our hex to RGB converter for quick two-way conversion.

#F9FAFB in Tailwind CSS (gray-50)

#F9FAFB ships with Tailwind CSS as gray-50 — use it as bg-gray-50, text-gray-50, or border-gray-50. It sits at step 50 of the gray ramp; every other step links to its own page:

Browse the full Tailwind palette in the color library, or generate in-between steps with the tint & shade generator.

Tints of #F9FAFB (Mixed with White)

Each step blends the base color toward white using new = old + (255 − old) × factor. Click a swatch to open it in the generator.

Shades of #F9FAFB (Mixed with Black)

Each step blends the base color toward black using new = old × (1 − factor).

WCAG Contrast & Accessibility

Contrast ratios for text placed on a #F9FAFB background. WCAG requires 4.5:1 for normal text (AA), 3:1 for large text (AA), and 7:1 for normal text (AAA).

Text color White text 1.05:1 — AA normal: Fail · AA large: Fail · AAA: Fail
Black text 20.10:1 — AA normal: Pass · AA large: Pass · AAA: Pass

If neither pure white nor pure black reaches the level you need, pick a darker shade of #F9FAFB from the ramps above as the background instead — small lightness moves change contrast quickly. Test any other pair with the free contrast checker.

More blue colors in the library: #F8FAFC (slate-50), #F0F9FF (sky-50), #EFF6FF (blue-50), #EEF2FF (indigo-50), #F1F5F9 (slate-100), #E0E7FF (indigo-100).

Frequently Asked Questions

Browse more colors in the color library, or start from any hex code on the HexTints homepage.

Building a brand around #F9FAFB? Put it on a free link-in-bio page →