Export

Code

/* Marble White — colorset.net */
:root {
  --color-1: #F8F8FF;
  --color-2: #F0F0F5;
  --color-3: #E8E8EA;
  --color-4: #E0E0DF;
  --color-5: #D8D8D4;

  --color-bg: #F8F8FF;
  --color-surface: #EFEFF6;
  --color-border: #D6D6E0;
  --color-text: #50504D;
  --color-muted: #6D6D69;
  --color-primary: #8A8A86;
  --color-on-primary: #000000;
  --color-accent: #595956;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F0E;
    --color-surface: #191918;
    --color-border: #2E2E2A;
    --color-text: #F8F8FF;
    --color-muted: #8C8C92;
    --color-primary: #D8D8D4;
    --color-on-primary: #0F0F0E;
    --color-accent: #A2A29F;
    --color-on-accent: #0F0F0E;
  }
}

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 1adjusted for contrast · from #D8D8D4
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #D8D8D4from palette · color 1
Muted textderivedderived
Primaryadjusted for contrast · from #D8D8D4from palette · color 5
On primaryderivedderived
Accentadjusted for contrast · from #D8D8D4adjusted for contrast · from #D8D8D4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.65:1AAA pass 4.5:1
Text on surface7.07:1AAA pass 4.5:1
Muted text on background4.91:1AA pass 4.5:1
Label on primary6.06:1AA pass 4.5:1
Label on accent7.03:1AAA pass 4.5:1
Primary on background3.28:1AA Large pass 3:1
Accent on background6.65:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.14:1AAA pass 4.5:1
Text on surface16.64:1AAA pass 4.5:1
Muted text on background5.74:1AA pass 4.5:1
Label on primary13.42:1AAA pass 4.5:1
Label on accent7.49:1AAA pass 4.5:1
Primary on background13.42:1AAA pass 3:1
Accent on background7.49: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#F8F8FF (Text 1)#F0F0F5 (Text 2)#E8E8EA (Text 3)#E0E0DF (Text 4)#D8D8D4 (Text 5)
#F8F8FFSame color1.07—1.16—1.25—1.35—
#F0F0F51.07—Same color1.08—1.16—1.26—
#E8E8EA1.16—1.08—Same color1.08—1.17—
#E0E0DF1.25—1.16—1.08—Same color1.08—
#D8D8D41.35—1.26—1.17—1.08—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#F8F8FF#F0F0F5#E8E8EA#E0E0DF#D8D8D4

Variations

About Marble White

Marble White brings together two whites and three light grays (#F8F8FF, #F0F0F5, #E8E8EA, #E0E0DF, #D8D8D4) in a balanced, neutral-led scheme. Every color is a neutral, from #F8F8FF down to #D8D8D4, so the palette works through light and shade alone. From #D8D8D4 to #F8F8FF the colors share a similar light value (lightness 88%–98%), which suits fills and illustration more than body text. There is effectively no chroma in any of the colors, so #E8E8EA and the rest read as pure grays. In light mode #F8F8FF becomes the background with #50504D text at 7.7:1, and #8A8A86 takes the primary role. Try it for architecture studios, documentation sites and focused single-product sites, letting light gray #D8D8D4 carry the key actions.

Marble White color palette: #F8F8FF, #F0F0F5, #E8E8EA, #E0E0DF, #D8D8D4
Share image for Marble White

Gradients in similar colors