Export

Code

/* Black Gray — colorset.net */
:root {
  --color-1: #000000;
  --color-2: #2F2F2F;
  --color-3: #555555;
  --color-4: #696969;
  --color-5: #808080;

  --color-bg: #F7F7F7;
  --color-surface: #EDEDED;
  --color-border: #D8D3D5;
  --color-text: #000000;
  --color-muted: #4A4A4A;
  --color-primary: #808080;
  --color-on-primary: #000000;
  --color-accent: #2F2F2F;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #000000;
    --color-surface: #000000;
    --color-border: #090707;
    --color-text: #959595;
    --color-muted: #777777;
    --color-primary: #808080;
    --color-on-primary: #000000;
    --color-accent: #5B5B5B;
    --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 #808080from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #808080
Muted textderivedderived
Primaryfrom palette · color 5from palette · color 5
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #555555
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background19.60:1AAA pass 4.5:1
Text on surface17.94:1AAA pass 4.5:1
Muted text on background8.27:1AAA pass 4.5:1
Label on primary5.32:1AA pass 4.5:1
Label on accent13.39:1AAA pass 4.5:1
Primary on background3.69:1AA Large pass 3:1
Accent on background12.50:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.01:1AAA pass 4.5:1
Text on surface7.01:1AAA pass 4.5:1
Muted text on background4.69:1AA pass 4.5:1
Label on primary5.32:1AA pass 4.5:1
Label on accent6.79:1AA pass 4.5:1
Primary on background5.32:1AA pass 3:1
Accent on background3.09: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#000000 (Text 1)#2F2F2F (Text 2)#555555 (Text 3)#696969 (Text 4)#808080 (Text 5)
#000000Same color1.57—2.82—3.83AA Large5.32AA
#2F2F2F1.57—Same color1.80—2.44—3.39AA Large
#5555552.82—1.80—Same color1.36—1.89—
#6969693.83AA Large2.44—1.36—Same color1.39—
#8080805.32AA3.39AA Large1.89—1.39—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#000000#2F2F2F#555555#696969#808080

Variations

About Black Gray

Black Gray is a balanced neutral palette of 5 colors that runs from gray #808080 to near-black #000000. There is no real hue here; neutrals between #000000 and #808080 do all the work with value contrast. Lightness spans 0% (#000000) to 60% (#808080), a moderate range; text roles may need slight darkening for full contrast. Chroma stays at zero across the set; even #555555 in the middle is a true gray. In light mode #F7F7F7 becomes the background with #000000 text at 19.6:1, and #808080 takes the primary role. With #808080 leading, good fits include minimal portfolios, editorial layouts and documentation sites.

Black Gray color palette: #000000, #2F2F2F, #555555, #696969, #808080
Share image for Black Gray

Gradients in similar colors