Graphite Dark

Export

Code

/* Graphite Dark — colorset.net */
:root {
  --color-1: #2C2C2C;
  --color-2: #4A4A4A;
  --color-3: #686868;
  --color-4: #868686;
  --color-5: #A4A4A4;

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

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F0F;
    --color-surface: #191919;
    --color-border: #302D2E;
    --color-text: #A4A4A4;
    --color-muted: #828282;
    --color-primary: #868686;
    --color-on-primary: #0F0F0F;
    --color-accent: #676767;
    --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 #A4A4A4adjusted for contrast · from #2C2C2C
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryfrom palette · color 4from palette · color 4
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #686868
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 primary5.77:1AA pass 4.5:1
Label on accent8.86:1AAA pass 4.5:1
Primary on background3.40:1AA Large pass 3:1
Accent on background8.27:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.69:1AAA pass 4.5:1
Text on surface7.05:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary5.26:1AA pass 4.5:1
Label on accent5.66:1AA pass 4.5:1
Primary on background5.26:1AA pass 3:1
Accent on background3.39: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#2C2C2C (Text 1)#4A4A4A (Text 2)#686868 (Text 3)#868686 (Text 4)#A4A4A4 (Text 5)
#2C2C2CSame color1.58—2.51—3.84AA Large5.60AA
#4A4A4A1.58—Same color1.59—2.43—3.56AA Large
#6868682.51—1.59—Same color1.53—2.24—
#8686863.84AA Large2.43—1.53—Same color1.46—
#A4A4A45.60AA3.56AA Large2.24—1.46—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#2C2C2C#4A4A4A#686868#868686#A4A4A4

Variations

About Graphite Dark

Five colors make up Graphite Dark, a balanced neutral set: #2C2C2C, #4A4A4A, #686868, #868686, #A4A4A4. Every color is a neutral, from #A4A4A4 down to #2C2C2C, so the palette works through light and shade alone. With lightness between 29% and 72% and #686868 near the middle, there is enough spread for layered surfaces but not maximum text contrast. There is effectively no chroma in any of the colors, so #686868 and the rest read as pure grays. As a UI theme it uses #868686 for primary actions and #4A4A4A as the accent; dark mode sits on #0F0F0F with #A4A4A4 text (7.7:1). Its monochrome character, led by #868686, suits icons and logos, typography-led layouts and focused single-product sites.

Graphite Dark color palette: #2C2C2C, #4A4A4A, #686868, #868686, #A4A4A4
Share image for Graphite Dark

Gradients in similar colors