Export

Code

/* Fog Bank — colorset.net */
:root {
  --color-1: #E0E0E0;
  --color-2: #E8E8E8;
  --color-3: #F0F0F0;
  --color-4: #F8F8F8;
  --color-5: #FFFFFF;

  --color-bg: #FFFFFF;
  --color-surface: #F6F6F6;
  --color-border: #E0DCDD;
  --color-text: #545454;
  --color-muted: #717171;
  --color-primary: #8E8E8E;
  --color-on-primary: #000000;
  --color-accent: #5D5D5D;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F0F;
    --color-surface: #191919;
    --color-border: #302D2E;
    --color-text: #FFFFFF;
    --color-muted: #8F8F8F;
    --color-primary: #E0E0E0;
    --color-on-primary: #0F0F0F;
    --color-accent: #AAAAAA;
    --color-on-accent: #0F0F0F;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundfrom palette · color 5adjusted for contrast · from #E0E0E0
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #E0E0E0from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #E0E0E0from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #E0E0E0adjusted for contrast · from #E0E0E0
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.57:1AAA pass 4.5:1
Text on surface7.01:1AAA pass 4.5:1
Muted text on background4.88:1AA pass 4.5:1
Label on primary6.41:1AA pass 4.5:1
Label on accent6.58:1AA pass 4.5:1
Primary on background3.28:1AA Large pass 3:1
Accent on background6.58:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background19.17:1AAA pass 4.5:1
Text on surface17.58:1AAA pass 4.5:1
Muted text on background5.93:1AA pass 4.5:1
Label on primary14.52:1AAA pass 4.5:1
Label on accent8.25:1AAA pass 4.5:1
Primary on background14.52:1AAA pass 3:1
Accent on background8.25:1AAA pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#E0E0E0 (Text 1)#E8E8E8 (Text 2)#F0F0F0 (Text 3)#F8F8F8 (Text 4)#FFFFFF (Text 5)
#E0E0E0Same color1.08—1.16—1.24—1.32—
#E8E8E81.08—Same color1.08—1.15—1.23—
#F0F0F01.16—1.08—Same color1.07—1.14—
#F8F8F81.24—1.15—1.07—Same color1.06—
#FFFFFF1.32—1.23—1.14—1.06—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#E0E0E0#E8E8E8#F0F0F0#F8F8F8#FFFFFF

Variations

About Fog Bank

Five colors make up Fog Bank, a balanced neutral set: #E0E0E0, #E8E8E8, #F0F0F0, #F8F8F8, #FFFFFF. Every color is a neutral, from #FFFFFF down to #E0E0E0, so the palette works through light and shade alone. From #E0E0E0 to #FFFFFF the colors share a similar light value (lightness 91%–100%), which suits fills and illustration more than body text. There is effectively no chroma in any of the colors, so #F0F0F0 and the rest read as pure grays. In light mode #FFFFFF becomes the background with #545454 text at 7.6:1, and #8E8E8E takes the primary role. Try it for architecture studios, documentation sites and editorial layouts, letting light gray #E0E0E0 carry the key actions.

These colors are almost the same as Cotton White.

Fog Bank color palette: #E0E0E0, #E8E8E8, #F0F0F0, #F8F8F8, #FFFFFF
Share image for Fog Bank

Gradients in similar colors