Export

Code

/* Crystal Grey — colorset.net */
:root {
  --color-1: #F8FAFC;
  --color-2: #F1F5F9;
  --color-3: #E2E8F0;
  --color-4: #CBD5E0;
  --color-5: #94A3B8;

  --color-bg: #F8FAFC;
  --color-surface: #EFF1F3;
  --color-border: #D4D8DD;
  --color-text: #445163;
  --color-muted: #606E81;
  --color-primary: #7C8B9F;
  --color-on-primary: #000000;
  --color-accent: #4E5A69;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0B1016;
    --color-surface: #151A20;
    --color-border: #282E37;
    --color-text: #F8FAFC;
    --color-muted: #8B8D8F;
    --color-primary: #94A3B8;
    --color-on-primary: #0B1016;
    --color-accent: #E2E8F0;
    --color-on-accent: #0B1016;
  }
}

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 #94A3B8
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #94A3B8from palette · color 1
Muted textderivedderived
Primaryadjusted for contrast · from #94A3B8from palette · color 5
On primaryderivedderived
Accentadjusted for contrast · from #94A3B8from palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.71:1AAA pass 4.5:1
Text on surface7.13:1AAA pass 4.5:1
Muted text on background4.96:1AA pass 4.5:1
Label on primary6.05:1AA pass 4.5:1
Label on accent7.02:1AAA pass 4.5:1
Primary on background3.32:1AA Large pass 3:1
Accent on background6.71:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.25:1AAA pass 4.5:1
Text on surface16.72:1AAA pass 4.5:1
Muted text on background5.73:1AA pass 4.5:1
Label on primary7.45:1AAA pass 4.5:1
Label on accent15.49:1AAA pass 4.5:1
Primary on background7.45:1AAA pass 3:1
Accent on background15.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#F8FAFC (Text 1)#F1F5F9 (Text 2)#E2E8F0 (Text 3)#CBD5E0 (Text 4)#94A3B8 (Text 5)
#F8FAFCSame color1.05—1.18—1.42—2.45—
#F1F5F91.05—Same color1.13—1.36—2.34—
#E2E8F01.18—1.13—Same color1.21—2.08—
#CBD5E01.42—1.36—1.21—Same color1.73—
#94A3B82.45—2.34—2.08—1.73—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#F8FAFC#F1F5F9#E2E8F0#CBD5E0#94A3B8

Variations

About Crystal Grey

About 70% of the color weight in Crystal Grey sits in neutral, which makes it a balanced palette anchored by light gray #E2E8F0. Everything except dusty blue #94A3B8 is close to neutral, which leaves that one color to carry the brand. All five colors stay in a narrow light band (71% to 98% lightness, #94A3B8 to #F8FAFC), so text and background roles are adjusted for contrast. Saturation is very low (mean OKLCH chroma 0.015, peaking at 0.035 in #94A3B8); the palette is close to grayscale. In light mode #F8FAFC becomes the background with #445163 text at 7.7:1, and #7C8B9F takes the primary role. With #94A3B8 leading, good fits include documentation sites, architecture studios and minimal portfolios.

These colors are almost the same as Silver Gray.

Crystal Grey color palette: #F8FAFC, #F1F5F9, #E2E8F0, #CBD5E0, #94A3B8
Share image for Crystal Grey

Gradients in similar colors