Fog
#F7F7FBAbout 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.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 1.07:1 | Fail | Fail | Fail |
| Ink black #0F0F12 | 17.91:1 | Pass | Pass | Pass |
| Mid grey #6B7280 | 4.52:1 | Pass | Pass | Fail |
| Dark grey #374151 | 9.65:1 | Pass | Pass | Pass |
| Light grey #E5E7EB | 1.16:1 | Fail | Fail | Fail |
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
| Format | Value |
|---|---|
| HEX | #F7F7FB |
| RGB | rgb(247, 247, 251) |
| HSL | hsl(240, 33%, 98%) |
| HSV | hsv(240, 2%, 98%) |
| CMYK | cmyk(2%, 2%, 0%, 2%) |
| OKLCH | oklch(97.73% 0.0053 286.30) |
| CIELAB | lab(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.