Export

Code

/* Cement Gray — colorset.net */
:root {
  --color-1: #5A5F66;
  --color-2: #6E737A;
  --color-3: #82878E;
  --color-4: #969BA2;
  --color-5: #AAAFB6;

  --color-bg: #F5F7F9;
  --color-surface: #ECEDF0;
  --color-border: #D1D5DA;
  --color-text: #4A4E55;
  --color-muted: #666B72;
  --color-primary: #6E737A;
  --color-on-primary: #FFFFFF;
  --color-accent: #82878E;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0E1012;
    --color-surface: #181A1C;
    --color-border: #2B2E33;
    --color-text: #AAAFB6;
    --color-muted: #7E8389;
    --color-primary: #6E737A;
    --color-on-primary: #FFFFFF;
    --color-accent: #969BA2;
    --color-on-accent: #0E1012;
  }
}

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 #AAAFB6adjusted for contrast · from #5A5F66
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #5A5F66from palette · color 5
Muted textderivedderived
Primaryfrom palette · color 2from palette · color 2
On primaryderivedderived
Accentadjusted for contrast · from #82878Efrom palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.78:1AAA pass 4.5:1
Text on surface7.14:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary4.78:1AA pass 4.5:1
Label on accent5.81:1AA pass 4.5:1
Primary on background4.45:1AA Large pass 3:1
Accent on background3.37:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background8.64:1AAA pass 4.5:1
Text on surface7.91:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary4.78:1AA pass 4.5:1
Label on accent6.82:1AA pass 4.5:1
Primary on background3.99:1AA Large pass 3:1
Accent on background6.82: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#5A5F66 (Text 1)#6E737A (Text 2)#82878E (Text 3)#969BA2 (Text 4)#AAAFB6 (Text 5)
#5A5F66Same color1.35—1.78—2.30—2.92—
#6E737A1.35—Same color1.32—1.71—2.16—
#82878E1.78—1.32—Same color1.29—1.64—
#969BA22.30—1.71—1.29—Same color1.27—
#AAAFB62.92—2.16—1.64—1.27—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#5A5F66#6E737A#82878E#969BA2#AAAFB6

Variations

About Cement Gray

Cement Gray brings together a slate and four grays (#5A5F66, #6E737A, #82878E, #969BA2, #AAAFB6) in a balanced, neutral-led scheme. Every color is a neutral, from #AAAFB6 down to #5A5F66, so the palette works through light and shade alone. From #5A5F66 to #AAAFB6 the colors share a similar mid-tone value (lightness 48%–75%), which suits fills and illustration more than body text. Average chroma is 0.012, very low for a palette, so the palette is close to grayscale; the most saturated color is #5A5F66. As a UI theme it uses #6E737A for primary actions and #82878E as the accent; dark mode sits on #0E1012 with #AAAFB6 text (8.6:1). Try it for editorial layouts, minimal portfolios and documentation sites, letting gray #6E737A carry the key actions.

Cement Gray color palette: #5A5F66, #6E737A, #82878E, #969BA2, #AAAFB6
Share image for Cement Gray

Gradients in similar colors