#F8FAFC — Tints, Shades & Color Values
#F8FAFC is a very light, moderately saturated blue. In Tailwind CSS this exact color is the utility class slate-50 (e.g. bg-slate-50, text-slate-50). Its nearest CSS named color is ghostwhite (#f8f8ff). For readable text on a #F8FAFC background, black text gives the strongest contrast (20.07:1). Because it is so light, #F8FAFC 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 | #F8FAFC |
|---|---|
| RGB | rgb(248, 250, 252) |
| HSL | hsl(210, 40%, 98%) |
| HSV / HSB | 210°, 2%, 99% |
| Nearest named | ghostwhite (#f8f8ff) |
Need these in another format? Use our hex to RGB converter for quick two-way conversion.
#F8FAFC in Tailwind CSS (slate-50)
#F8FAFC ships with Tailwind CSS as slate-50 — use it as bg-slate-50, text-slate-50, or border-slate-50. It sits at step 50 of the slate 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 #F8FAFC (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
#f9fbfc -
20% tint
#f9fbfd -
30% tint
#fafcfd -
40% tint
#fbfcfd -
50% tint
#fcfdfe -
60% tint
#fcfdfe -
70% tint
#fdfefe -
80% tint
#fefefe -
90% tint
#feffff
Shades of #F8FAFC (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#dfe1e3 -
20% shade
#c6c8ca -
30% shade
#aeafb0 -
40% shade
#959697 -
50% shade
#7c7d7e -
60% shade
#636465 -
70% shade
#4a4b4c -
80% shade
#323232 -
90% shade
#191919
WCAG Contrast & Accessibility
Contrast ratios for text placed on a #F8FAFC 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.07: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 #F8FAFC 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: #F9FAFB (gray-50), #F0F9FF (sky-50), #EFF6FF (blue-50), #EEF2FF (indigo-50), #F3F4F6 (gray-100), #E0E7FF (indigo-100).
Frequently Asked Questions
-
What color is #F8FAFC?
#F8FAFC is a very light, moderately saturated blue —
rgb(248, 250, 252). Its nearest CSS named color isghostwhite. In Tailwind CSS it isslate-50. -
How do I make tints and shades of #F8FAFC?
Mix #F8FAFC with white for tints and with black for shades. A 20% tint of #F8FAFC is
#f9fbfdand a 20% shade is#c6c8ca— the full 10%–90% ramps are precomputed on this page, or open #F8FAFC in the generator for finer steps. -
What text color is readable on #F8FAFC?
Black text gives the strongest contrast on a #F8FAFC background at 20.07:1, which passes WCAG AA and AAA for normal text.
-
What is the Tailwind CSS class for #F8FAFC?
slate-50— use it asbg-slate-50,text-slate-50, orborder-slate-50. The full slate 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#F8FAFC? Put it on a free link-in-bio page →