Export

Code

/* Gunmetal Gray — colorset.net */
:root {
  --color-1: #1B2631;
  --color-2: #283747;
  --color-3: #34495E;
  --color-4: #566573;
  --color-5: #7B7D7D;

  --color-bg: #F6F7F7;
  --color-surface: #EDEDED;
  --color-border: #D1D6D6;
  --color-text: #1B2631;
  --color-muted: #5E6B78;
  --color-primary: #566573;
  --color-on-primary: #FFFFFF;
  --color-accent: #283747;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0C1014;
    --color-surface: #161A1E;
    --color-border: #282F35;
    --color-text: #A5A7A7;
    --color-muted: #808282;
    --color-primary: #596876;
    --color-on-primary: #FFFFFF;
    --color-accent: #7B7D7D;
    --color-on-accent: #0C1014;
  }
}

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 #7B7D7Dadjusted for contrast · from #1B2631
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #7B7D7D
Muted textderivedderived
Primaryfrom palette · color 4adjusted for contrast · from #566573
On primaryderivedderived
Accentfrom palette · color 2from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.30:1AAA pass 4.5:1
Text on surface13.11:1AAA pass 4.5:1
Muted text on background5.08:1AA pass 4.5:1
Label on primary5.99:1AA pass 4.5:1
Label on accent12.15:1AAA pass 4.5:1
Primary on background5.58:1AA pass 3:1
Accent on background11.32:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.90:1AAA pass 4.5:1
Text on surface7.23:1AAA pass 4.5:1
Muted text on background4.94:1AA pass 4.5:1
Label on primary5.73:1AA pass 4.5:1
Label on accent4.61:1AA pass 4.5:1
Primary on background3.33:1AA Large pass 3:1
Accent on background4.61: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#1B2631 (Text 1)#283747 (Text 2)#34495E (Text 3)#566573 (Text 4)#7B7D7D (Text 5)
#1B2631Same color1.26—1.65—2.56—3.71AA Large
#2837471.26—Same color1.31—2.03—2.94—
#34495E1.65—1.31—Same color1.55—2.24—
#5665732.56—2.03—1.55—Same color1.45—
#7B7D7D3.71AA Large2.94—2.24—1.45—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#1B2631#283747#34495E#566573#7B7D7D

Variations

About Gunmetal Gray

Gunmetal Gray is a balanced neutral palette of 5 colors that runs from gray #7B7D7D to charcoal #1B2631. Everything except dark blue #34495E is close to neutral, which leaves that one color to carry the brand. Lightness spans 26% (#1B2631) to 59% (#7B7D7D), a moderate range; text roles may need slight darkening for full contrast. Saturation is very low (mean OKLCH chroma 0.027, peaking at 0.044 in #34495E); the palette is close to grayscale. In light mode #F6F7F7 becomes the background with #1B2631 text at 14.3:1, and #566573 takes the primary role. With #566573 leading, good fits include documentation sites, architecture studios and icons and logos.

Gunmetal Gray color palette: #1B2631, #283747, #34495E, #566573, #7B7D7D
Share image for Gunmetal Gray

Gradients in similar colors