NEUTRAL

Fog

#F7F7FB
Conversions
HEX#F7F7FB
RGBrgb(247, 247, 251)
HSLhsl(240, 33%, 98%)
HSVhsv(240, 2%, 98%)
CMYKcmyk(2%, 2%, 0%, 2%)
Copy CSS
color: #f7f7fb; /* rgb */ color: rgb(247, 247, 251); /* hsl */ color: hsl(240, 33%, 98%);
Contrast
On whiteFail · 1.07 : 1
On ink blackPass · 17.91 : 1
Shades
Tints
Pairings

About Fog

Fog is the hex color #F7F7FB, which translates to rgb(247, 247, 251) in RGB and hsl(240, 33%, 98%) in HSL. On the color wheel it sits at 240 degrees, with a saturation of 33 percent and a lightness of 98 percent. That puts Fog at the pale end of the neutral range, light enough to work as a page or card background with dark text on top.

How Fog compares

The closest standard CSS keyword is ghostwhite (#F8F8FF), a CIE76 distance of 1.6 away in CIELAB. That is below the rule of thumb for a difference most people notice side by side, so the keyword is a safe substitute. In the Tailwind CSS 4.3.1 palette the nearest token is slate-50 (#F8FAFC), at a distance of 1.5. Inside this library the closest neighbour is Ghost White at 1.6. Sorted by lightness, Fog is number 34 of the 37 neutral colors here.

Text on Fog

3 of the five common text colors below clear WCAG AA for normal text on Fog, led by Ink black at 17.91:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Fog already loaded as the background.

Contrast of common text colors on Fog. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF1.07:1FailFailFail
Ink black #0F0F1217.91:1PassPassPass
Mid grey #6B72804.52:1PassPassFail
Dark grey #3741519.65:1PassPassPass
Light grey #E5E7EB1.16:1FailFailFail

Building a palette around Fog

The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Fog for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color.

Full values for Fog

FormatValue
HEX#F7F7FB
RGBrgb(247, 247, 251)
HSLhsl(240, 33%, 98%)
HSVhsv(240, 2%, 98%)
CMYKcmyk(2%, 2%, 0%, 2%)
OKLCHoklch(97.73% 0.0053 286.30)
CIELABlab(97.33 0.71 -1.91)

Use Fog in a tool

Nearby colors

Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.