Export

Code

/* Space Black — colorset.net */
:root {
  --color-1: #0C0C0C;
  --color-2: #1E1E1E;
  --color-3: #303030;
  --color-4: #424242;
  --color-5: #545454;

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

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0C0C0C;
    --color-surface: #161616;
    --color-border: #2C292A;
    --color-text: #A3A3A3;
    --color-muted: #808080;
    --color-primary: #656565;
    --color-on-primary: #FFFFFF;
    --color-accent: #979797;
    --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 #545454from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #545454
Muted textderivedderived
Primaryfrom palette · color 5adjusted for contrast · from #545454
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #545454
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.57:1AAA pass 4.5:1
Label on accent16.67:1AAA pass 4.5:1
Primary on background7.07:1AAA pass 3:1
Accent on background15.56:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.75:1AAA pass 4.5:1
Text on surface7.17:1AAA pass 4.5:1
Muted text on background4.95:1AA pass 4.5:1
Label on primary5.83:1AA pass 4.5:1
Label on accent6.70:1AA pass 4.5:1
Primary on background3.36:1AA Large pass 3:1
Accent on background6.70: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)#1E1E1E (Text 2)#303030 (Text 3)#424242 (Text 4)#545454 (Text 5)
#0C0C0CSame color1.17—1.48—1.95—2.58—
#1E1E1E1.17—Same color1.26—1.66—2.20—
#3030301.48—1.26—Same color1.31—1.74—
#4242421.95—1.66—1.31—Same color1.33—
#5454542.58—2.20—1.74—1.33—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#0C0C0C#1E1E1E#303030#424242#545454

Variations

About Space Black

Five colors make up Space Black, a balanced neutral set: #0C0C0C, #1E1E1E, #303030, #424242, #545454. Every color is a neutral, from #545454 down to #0C0C0C, so the palette works through light and shade alone. From #0C0C0C to #545454 the colors share a similar dark value (lightness 15%–45%), which suits fills and illustration more than body text. There is effectively no chroma in any of the colors, so #303030 and the rest read as pure grays. As a UI theme it uses #545454 for primary actions and #1E1E1E as the accent; dark mode sits on #0C0C0C with #A3A3A3 text (7.8:1). Its dark and monochrome character, led by #545454, suits editorial layouts, minimal portfolios and icons and logos.

These colors are almost the same as Soot Shadow.

Space Black color palette: #0C0C0C, #1E1E1E, #303030, #424242, #545454
Share image for Space Black

Gradients in similar colors