Export

Code

/* Metal Gray — colorset.net */
:root {
  --color-1: #464451;
  --color-2: #696969;
  --color-3: #808080;
  --color-4: #A9A9A9;
  --color-5: #C0C0C0;

  --color-bg: #F7F7F7;
  --color-surface: #EDEDED;
  --color-border: #D8D3D5;
  --color-text: #464451;
  --color-muted: #6B6977;
  --color-primary: #808080;
  --color-on-primary: #000000;
  --color-accent: #696969;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F13;
    --color-surface: #19191D;
    --color-border: #2E2D34;
    --color-text: #C0C0C0;
    --color-muted: #838383;
    --color-primary: #808080;
    --color-on-primary: #0F0F13;
    --color-accent: #676573;
    --color-on-accent: #FFFFFF;
  }
}

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 #C0C0C0adjusted for contrast · from #464451
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryfrom palette · color 3from palette · color 3
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #696969
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background8.89:1AAA pass 4.5:1
Text on surface8.13:1AAA pass 4.5:1
Muted text on background5.01:1AA pass 4.5:1
Label on primary5.32:1AA pass 4.5:1
Label on accent5.49:1AA pass 4.5:1
Primary on background3.69:1AA Large pass 3:1
Accent on background5.12:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background10.51:1AAA pass 4.5:1
Text on surface9.63:1AAA pass 4.5:1
Muted text on background5.04:1AA pass 4.5:1
Label on primary4.84:1AA pass 4.5:1
Label on accent5.70:1AA pass 4.5:1
Primary on background4.84:1AA pass 3:1
Accent on background3.36:1AA Large 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#464451 (Text 1)#696969 (Text 2)#808080 (Text 3)#A9A9A9 (Text 4)#C0C0C0 (Text 5)
#464451Same color1.73—2.41—4.05AA Large5.23AA
#6969691.73—Same color1.39—2.34—3.02AA Large
#8080802.41—1.39—Same color1.68—2.17—
#A9A9A94.05AA Large2.34—1.68—Same color1.29—
#C0C0C05.23AA3.02AA Large2.17—1.29—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#464451#696969#808080#A9A9A9#C0C0C0

Variations

About Metal Gray

Five colors make up Metal Gray, a balanced neutral set: #464451, #696969, #808080, #A9A9A9, #C0C0C0. Every color is a neutral, from #C0C0C0 down to #464451, so the palette works through light and shade alone. With lightness between 39% and 81% and #808080 near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.004, very low for a palette, so the palette is close to grayscale; the most saturated color is #464451. In light mode #F7F7F7 becomes the background with #464451 text at 8.9:1, and #808080 takes the primary role. Its monochrome character, led by #808080, suits icons and logos, typography-led layouts and focused single-product sites.

Metal Gray color palette: #464451, #696969, #808080, #A9A9A9, #C0C0C0
Share image for Metal Gray

Gradients in similar colors