#F9FAFB — Tints, Shades & Color Values
#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.
Color Values
| Hex | #F9FAFB |
|---|---|
| RGB | rgb(249, 250, 251) |
| HSL | hsl(210, 20%, 98%) |
| HSV / HSB | 210°, 1%, 98% |
| Nearest named | ghostwhite (#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.
-
10% tint
#fafbfb -
20% tint
#fafbfc -
30% tint
#fbfcfc -
40% tint
#fbfcfd -
50% tint
#fcfdfd -
60% tint
#fdfdfd -
70% tint
#fdfefe -
80% tint
#fefefe -
90% tint
#feffff
Shades of #F9FAFB (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#e0e1e2 -
20% shade
#c7c8c9 -
30% shade
#aeafb0 -
40% shade
#959697 -
50% shade
#7d7d7e -
60% shade
#646464 -
70% shade
#4b4b4b -
80% shade
#323232 -
90% shade
#191919
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
-
What color is #F9FAFB?
#F9FAFB is a very light, muted blue —
rgb(249, 250, 251). Its nearest CSS named color isghostwhite. In Tailwind CSS it isgray-50. -
How do I make tints and shades of #F9FAFB?
Mix #F9FAFB with white for tints and with black for shades. A 20% tint of #F9FAFB is
#fafbfcand a 20% shade is#c7c8c9— the full 10%–90% ramps are precomputed on this page, or open #F9FAFB in the generator for finer steps. -
What text color is readable on #F9FAFB?
Black text gives the strongest contrast on a #F9FAFB background at 20.10:1, which passes WCAG AA and AAA for normal text.
-
What is the Tailwind CSS class for #F9FAFB?
gray-50— use it asbg-gray-50,text-gray-50, orborder-gray-50. The full gray 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#F9FAFB? Put it on a free link-in-bio page →