Export

Code

/* Cool Grey — colorset.net */
:root {
  --color-1: #708090;
  --color-2: #7A8A9A;
  --color-3: #8494A4;
  --color-4: #8E9EAE;
  --color-5: #98A8B8;

  --color-bg: #F2F7FD;
  --color-surface: #E9EEF3;
  --color-border: #CED6DE;
  --color-text: #414F5E;
  --color-muted: #5D6C7C;
  --color-primary: #708090;
  --color-on-primary: #000000;
  --color-accent: #434F5C;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0B1015;
    --color-surface: #151A1F;
    --color-border: #272F36;
    --color-text: #98A8B8;
    --color-muted: #768695;
    --color-primary: #708090;
    --color-on-primary: #0B1015;
    --color-accent: #8494A4;
    --color-on-accent: #0B1015;
  }
}

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
Backgroundadjusted for contrast · from #98A8B8adjusted for contrast · from #708090
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #708090from palette · color 5
Muted textderivedderived
Primaryfrom palette · color 1from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #708090from palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.78:1AAA pass 4.5:1
Text on surface7.18:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary5.18:1AA pass 4.5:1
Label on accent8.36:1AAA pass 4.5:1
Primary on background3.76:1AA Large pass 3:1
Accent on background7.76:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.85:1AAA pass 4.5:1
Text on surface7.19:1AAA pass 4.5:1
Muted text on background5.11:1AA pass 4.5:1
Label on primary4.71:1AA pass 4.5:1
Label on accent6.14:1AA pass 4.5:1
Primary on background4.71:1AA pass 3:1
Accent on background6.14:1AA 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#708090 (Text 1)#7A8A9A (Text 2)#8494A4 (Text 3)#8E9EAE (Text 4)#98A8B8 (Text 5)
#708090Same color1.14—1.30—1.48—1.67—
#7A8A9A1.14—Same color1.14—1.29—1.46—
#8494A41.30—1.14—Same color1.13—1.28—
#8E9EAE1.48—1.29—1.13—Same color1.13—
#98A8B81.67—1.46—1.28—1.13—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#708090#7A8A9A#8494A4#8E9EAE#98A8B8

Variations

About Cool Grey

Cool Grey is a balanced neutral palette of 5 colors that runs from gray #98A8B8 to gray #708090. There is no real hue here; neutrals between #708090 and #98A8B8 do all the work with value contrast. All five colors stay in a narrow mid-tone band (59% to 72% lightness, #708090 to #98A8B8), so text and background roles are adjusted for contrast. Saturation is very low (mean OKLCH chroma 0.030, peaking at 0.031 in #708090); the palette is close to grayscale. Text contrast reaches 7.8:1 in light mode and 7.8:1 in dark mode, with #708090 as primary and #434F5C as accent. Its muted and monochrome character, led by #708090, suits documentation sites, architecture studios and minimal portfolios.

Cool Grey color palette: #708090, #7A8A9A, #8494A4, #8E9EAE, #98A8B8
Share image for Cool Grey

Gradients in similar colors