Export

Code

/* Black Dark — colorset.net */
:root {
  --color-1: #0C0C0C;
  --color-2: #171717;
  --color-3: #262626;
  --color-4: #404040;
  --color-5: #525252;

  --color-bg: #F7F7F7;
  --color-surface: #EDEDED;
  --color-border: #D8D3D5;
  --color-text: #0C0C0C;
  --color-muted: #636363;
  --color-primary: #525252;
  --color-on-primary: #FFFFFF;
  --color-accent: #171717;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0C0C0C;
    --color-surface: #161616;
    --color-border: #2C292A;
    --color-text: #A1A1A1;
    --color-muted: #7F7F7F;
    --color-primary: #636363;
    --color-on-primary: #FFFFFF;
    --color-accent: #959595;
    --color-on-accent: #0C0C0C;
  }
}

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

Contrast

Light mode
PairSampleRatioWCAG
Text on background18.26:1AAA pass 4.5:1
Text on surface16.71:1AAA pass 4.5:1
Muted text on background5.61:1AA pass 4.5:1
Label on primary7.81:1AAA pass 4.5:1
Label on accent17.93:1AAA pass 4.5:1
Primary on background7.29:1AAA pass 3:1
Accent on background16.73:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.57:1AAA pass 4.5:1
Text on surface7.00:1AAA pass 4.5:1
Muted text on background4.89:1AA pass 4.5:1
Label on primary6.01:1AA pass 4.5:1
Label on accent6.53:1AA pass 4.5:1
Primary on background3.26:1AA Large pass 3:1
Accent on background6.53: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#0C0C0C (Text 1)#171717 (Text 2)#262626 (Text 3)#404040 (Text 4)#525252 (Text 5)
#0C0C0CSame color1.09—1.29—1.89—2.50—
#1717171.09—Same color1.18—1.73—2.29—
#2626261.29—1.18—Same color1.46—1.94—
#4040401.89—1.73—1.46—Same color1.33—
#5252522.50—2.29—1.94—1.33—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#0C0C0C#171717#262626#404040#525252

Variations

About Black Dark

Black Dark brings together a near-black, two charcoals and two slates (#0C0C0C, #171717, #262626, #404040, #525252) in a balanced, neutral-led scheme. Every color is a neutral, from #525252 down to #0C0C0C, so the palette works through light and shade alone. From #0C0C0C to #525252 the colors share a similar dark value (lightness 15%–44%), which suits fills and illustration more than body text. There is effectively no chroma in any of the colors, so #262626 and the rest read as pure grays. In light mode #F7F7F7 becomes the background with #0C0C0C text at 18.3:1, and #525252 takes the primary role. Its dark and monochrome character, led by #525252, suits gaming sites, dark-mode dashboards and film and media.

These colors are almost the same as Brown Mountain.

Black Dark color palette: #0C0C0C, #171717, #262626, #404040, #525252
Share image for Black Dark

Gradients in similar colors