Fog
#F7F7FBrgb(247, 247, 251)hsl(240, 33%, 98%)
Fog is #F7F7FB, rgb(247, 247, 251).
Colors that go with Fog
Complementary
Analogous
Triadic
1 of 2 backgrounds pass AA
- On whiteFail1.07 : 1
- On ink blackPass17.91 : 1
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.
| 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, or open the palette generator with Fog locked and let it fill in the rest.
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) |
Frequently asked questions
What is the RGB value of Fog?
Fog (#F7F7FB) is rgb(247, 247, 251): 247 red, 247 green and 251 blue on the 0 to 255 scale. Blue leads at 251 while red and green both sit at 247, which puts the hue at 240 degrees. In HSL the same color is hsl(240, 33%, 98%).
What colour is #F7F7FB?
#F7F7FB is Fog, a very light neutral colour with 33% saturation and 98% lightness. For print the CMYK breakdown is 2% cyan, 2% magenta, 0% yellow and 2% black. Its nearest neighbour in this library, Ghost White, is only 1.6 away in CIELAB, close enough to pass for the same colour side by side.
Is Fog a CSS color name?
No. Fog is not one of the 148 CSS named colors, so write it as #F7F7FB. The nearest keyword is ghostwhite (#F8F8FF), a CIE76 distance of 1.6: close enough that most people cannot tell the two apart side by side.
What colors go with Fog?
Opposite Fog on the color wheel sits the complementary #FBFBF7 (close to Off White), the boldest accent by hue. For a calmer scheme use the analogous neighbours #F7F9FB (close to Fog) and #F9F7FB (close to Fog); for a balanced three-color scheme use the triadic pair #FBF7F7 (close to Snow) and #F7FBF7 (close to Off White). Of these, #FBFBF7 has the most contrast against Fog, at 1.03:1, so pair it by hue, not for legibility.
What text color is readable on Fog?
Ink black (#0F0F12) is the most readable on Fog, at 17.91:1, which also clears WCAG AAA (7:1). 3 of the 5 common text colors tested pass AA for normal text.
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.