Moonlight White

Export

Code

/* Moonlight White — colorset.net */
:root {
  --color-1: #F2F5FA;
  --color-2: #F5F8FC;
  --color-3: #F8FBFD;
  --color-4: #FBFDFE;
  --color-5: #FEFEFF;

  --color-bg: #FEFEFF;
  --color-surface: #F5F5F6;
  --color-border: #DCDBE0;
  --color-text: #505257;
  --color-muted: #6D7074;
  --color-primary: #898C91;
  --color-on-primary: #000000;
  --color-accent: #585B5F;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F11;
    --color-surface: #19191B;
    --color-border: #2C2E32;
    --color-text: #FEFEFF;
    --color-muted: #8F8F90;
    --color-primary: #F2F5FA;
    --color-on-primary: #0F0F11;
    --color-accent: #BBBEC2;
    --color-on-accent: #0F0F11;
  }
}

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 #F2F5FA
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #F2F5FAfrom palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #F2F5FAfrom palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #F2F5FAadjusted for contrast · from #F2F5FA
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.76:1AAA pass 4.5:1
Text on surface7.18:1AAA pass 4.5:1
Muted text on background4.94:1AA pass 4.5:1
Label on primary6.22:1AA pass 4.5:1
Label on accent6.83:1AA pass 4.5:1
Primary on background3.35:1AA Large pass 3:1
Accent on background6.77:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background19.00:1AAA pass 4.5:1
Text on surface17.42:1AAA pass 4.5:1
Muted text on background5.93:1AA pass 4.5:1
Label on primary17.52:1AAA pass 4.5:1
Label on accent10.26:1AAA pass 4.5:1
Primary on background17.52:1AAA pass 3:1
Accent on background10.26: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#F2F5FA (Text 1)#F5F8FC (Text 2)#F8FBFD (Text 3)#FBFDFE (Text 4)#FEFEFF (Text 5)
#F2F5FASame color1.03—1.05—1.07—1.08—
#F5F8FC1.03—Same color1.03—1.04—1.06—
#F8FBFD1.05—1.03—Same color1.02—1.03—
#FBFDFE1.07—1.04—1.02—Same color1.01—
#FEFEFF1.08—1.06—1.03—1.01—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#F2F5FA#F5F8FC#F8FBFD#FBFDFE#FEFEFF

Variations

About Moonlight White

Nearly all of the color weight in Moonlight White sits in neutral, which makes it a balanced palette anchored by white #F8FBFD. There is no real hue here; neutrals between #F2F5FA and #FEFEFF do all the work with value contrast. All five colors stay in a narrow light band (97% to 100% lightness, #F2F5FA to #FEFEFF), so text and background roles are adjusted for contrast. Chroma stays at zero across the set; even #F8FBFD in the middle is a true gray. In light mode #FEFEFF becomes the background with #505257 text at 7.8:1, and #898C91 takes the primary role. Try it for minimal portfolios, editorial layouts and clean landing pages, letting white #F2F5FA carry the key actions.

These colors are almost the same as Snow Drift.

Moonlight White color palette: #F2F5FA, #F5F8FC, #F8FBFD, #FBFDFE, #FEFEFF
Share image for Moonlight White

Gradients in similar colors