#F8FAFC Hex Color
An airy white with cool undertones

This extremely pale, airy white features the slightest cool gray undertone. It creates a cleaner, less clinical effect than pure white, making #f8fafc ideal for UI backgrounds where you need high readability. Pair it with soft charcoal text for a sophisticated, modern look. The hex code for this neutral shade is #f8fafc, providing enough contrast for standard body text legibility.
Questions about #f8fafc
What is #f8fafc in RGB, HSL and CMYK?
In RGB, #f8fafc is rgb(248, 250, 252), in HSL hsl(210, 40%, 98%) and in CMYK 2%, 1%, 0%, 1%.
Why is #f8fafc preferred over pure white for UI backgrounds?
#f8fafc provides a cleaner and less clinical appearance than pure white, which reduces eye strain during prolonged screen use. It offers a subtle depth that helps separate content blocks from the background without relying on harsh shadows or borders.
What colors pair best with #f8fafc for a modern look?
Is #f8fafc readable on white or black?
#f8fafc has a 1.04:1 contrast ratio on white and 20.07:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it is too faint for text and on black it works for body text. Try other pairs in the contrast checker.