Export

Code

/* Iron Gray — colorset.net */
:root {
  --color-1: #2C2C2C;
  --color-2: #3E3E3E;
  --color-3: #2F4F4F;
  --color-4: #696969;
  --color-5: #A9A9A9;

  --color-bg: #F7F7F7;
  --color-surface: #EDEDED;
  --color-border: #D8D3D5;
  --color-text: #2C2C2C;
  --color-muted: #6B6B6B;
  --color-primary: #2F4F4F;
  --color-on-primary: #FFFFFF;
  --color-accent: #878787;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F0F;
    --color-surface: #191919;
    --color-border: #302D2E;
    --color-text: #A9A9A9;
    --color-muted: #828282;
    --color-primary: #4A6B6B;
    --color-on-primary: #FFFFFF;
    --color-accent: #809D9C;
    --color-on-accent: #0F0F0F;
  }
}

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

Contrast

Light mode
PairSampleRatioWCAG
Text on background13.04:1AAA pass 4.5:1
Text on surface11.93:1AAA pass 4.5:1
Muted text on background4.97:1AA pass 4.5:1
Label on primary8.93:1AAA pass 4.5:1
Label on accent5.85:1AA pass 4.5:1
Primary on background8.33:1AAA pass 3:1
Accent on background3.35:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background8.16:1AAA pass 4.5:1
Text on surface7.48:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary5.82:1AA pass 4.5:1
Label on accent6.59:1AA pass 4.5:1
Primary on background3.29:1AA Large pass 3:1
Accent on background6.59: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#2C2C2C (Text 1)#3E3E3E (Text 2)#2F4F4F (Text 3)#696969 (Text 4)#A9A9A9 (Text 5)
#2C2C2CSame color1.31—1.56—2.54—5.94AA
#3E3E3E1.31—Same color1.20—1.95—4.55AA
#2F4F4F1.56—1.20—Same color1.63—3.80AA Large
#6969692.54—1.95—1.63—Same color2.34—
#A9A9A95.94AA4.55AA3.80AA Large2.34—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#2C2C2C#3E3E3E#2F4F4F#696969#A9A9A9

Variations

About Iron Gray

About 70% of the color weight in Iron Gray sits in neutral, which makes it a balanced palette anchored by dark teal #2F4F4F. Everything except dark teal #2F4F4F is close to neutral, which leaves that one color to carry the brand. Lightness spans 29% (#2C2C2C) to 73% (#A9A9A9), a moderate range; text roles may need slight darkening for full contrast. Saturation is very low (mean OKLCH chroma 0.008, peaking at 0.038 in #2F4F4F); the palette is close to grayscale. Text contrast reaches 13.0:1 in light mode and 8.2:1 in dark mode, with #2F4F4F as primary and #878787 as accent. Try it for minimal portfolios, editorial layouts and architecture studios, letting dark teal #2F4F4F carry the key actions.

Iron Gray color palette: #2C2C2C, #3E3E3E, #2F4F4F, #696969, #A9A9A9
Share image for Iron Gray

Gradients in similar colors