Export

Code

/* Moonstone Gray — colorset.net */
:root {
  --color-1: #EDEDF0;
  --color-2: #F3F3F5;
  --color-3: #F9F9FA;
  --color-4: #FEFFFF;
  --color-5: #FFFFFF;

  --color-bg: #FFFFFF;
  --color-surface: #F6F6F6;
  --color-border: #E0DCDD;
  --color-text: #515154;
  --color-muted: #6F6F72;
  --color-primary: #8E8E91;
  --color-on-primary: #000000;
  --color-accent: #5D5D5F;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F10;
    --color-surface: #19191A;
    --color-border: #2D2D31;
    --color-text: #FFFFFF;
    --color-muted: #8F8F8F;
    --color-primary: #EDEDF0;
    --color-on-primary: #0F0F10;
    --color-accent: #B6B6B8;
    --color-on-accent: #0F0F10;
  }
}

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

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.91:1AAA pass 4.5:1
Text on surface7.32:1AAA pass 4.5:1
Muted text on background5.01:1AA pass 4.5:1
Label on primary6.43:1AA pass 4.5:1
Label on accent6.57:1AA pass 4.5:1
Primary on background3.27:1AA Large pass 3:1
Accent on background6.57:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background19.16:1AAA pass 4.5:1
Text on surface17.57:1AAA pass 4.5:1
Muted text on background5.92:1AA pass 4.5:1
Label on primary16.40:1AAA pass 4.5:1
Label on accent9.46:1AAA pass 4.5:1
Primary on background16.40:1AAA pass 3:1
Accent on background9.46: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#EDEDF0 (Text 1)#F3F3F5 (Text 2)#F9F9FA (Text 3)#FEFFFF (Text 4)#FFFFFF (Text 5)
#EDEDF0Same color1.05—1.11—1.17—1.17—
#F3F3F51.05—Same color1.05—1.11—1.11—
#F9F9FA1.11—1.05—Same color1.05—1.05—
#FEFFFF1.17—1.11—1.05—Same color1.00—
#FFFFFF1.17—1.11—1.05—1.00—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#EDEDF0#F3F3F5#F9F9FA#FEFFFF#FFFFFF

Variations

About Moonstone Gray

Nearly all of the color weight in Moonstone Gray sits in neutral, which makes it a balanced palette anchored by white #F9F9FA. There is no real hue here; neutrals between #EDEDF0 and #FFFFFF do all the work with value contrast. All five colors stay in a narrow light band (95% to 100% lightness, #EDEDF0 to #FFFFFF), so text and background roles are adjusted for contrast. Chroma stays at zero across the set; even #F9F9FA in the middle is a true gray. As a UI theme it uses #8E8E91 for primary actions and #5D5D5F as the accent; dark mode sits on #0F0F10 with #FFFFFF text (19.2:1). With #EDEDF0 leading, good fits include clean landing pages, reading apps and documentation.

These colors are almost the same as Chalk White.

Moonstone Gray color palette: #EDEDF0, #F3F3F5, #F9F9FA, #FEFFFF, #FFFFFF
Share image for Moonstone Gray

Gradients in similar colors