Export

Code

/* Space Dark — colorset.net */
:root {
  --color-1: #020617;
  --color-2: #0F172A;
  --color-3: #1E293B;
  --color-4: #475569;
  --color-5: #94A3B8;

  --color-bg: #F2F7FE;
  --color-surface: #E9EEF5;
  --color-border: #CED5DF;
  --color-text: #020617;
  --color-muted: #545F76;
  --color-primary: #475569;
  --color-on-primary: #FFFFFF;
  --color-accent: #79889C;
  --color-on-accent: #020617;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #020617;
    --color-surface: #070F22;
    --color-border: #1A2337;
    --color-text: #94A3B8;
    --color-muted: #6F7D91;
    --color-primary: #556378;
    --color-on-primary: #FFFFFF;
    --color-accent: #8895A8;
    --color-on-accent: #020617;
  }
}

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 #94A3B8from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryfrom palette · color 4adjusted for contrast · from #475569
On primaryderivedderived
Accentadjusted for contrast · from #94A3B8adjusted for contrast · from #94A3B8
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background18.74:1AAA pass 4.5:1
Text on surface17.30:1AAA pass 4.5:1
Muted text on background5.96:1AA pass 4.5:1
Label on primary7.58:1AAA pass 4.5:1
Label on accent5.59:1AA pass 4.5:1
Primary on background7.04:1AAA pass 3:1
Accent on background3.36:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.87:1AAA pass 4.5:1
Text on surface7.44:1AAA pass 4.5:1
Muted text on background4.82:1AA pass 4.5:1
Label on primary6.10:1AA pass 4.5:1
Label on accent6.64:1AA pass 4.5:1
Primary on background3.31:1AA Large pass 3:1
Accent on background6.64: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#020617 (Text 1)#0F172A (Text 2)#1E293B (Text 3)#475569 (Text 4)#94A3B8 (Text 5)
#020617Same color1.13—1.38—2.66—7.87AAA
#0F172A1.13—Same color1.22—2.36—6.96AA
#1E293B1.38—1.22—Same color1.93—5.71AA
#4755692.66—2.36—1.93—Same color2.96—
#94A3B87.87AAA6.96AA5.71AA2.96—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#020617#0F172A#1E293B#475569#94A3B8

Variations

About Space Dark

Space Dark brings together a near-black, two deep blues, a dark blue and a dusty blue (#020617, #0F172A, #1E293B, #475569, #94A3B8) in a cool, blue-led scheme. All hues sit within 9° of each other, so near-black #020617 and its relatives form a cohesive monochromatic scheme. With lightness between 13% and 71% and #1E293B near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.038, low for a palette, so the colors feel soft and muted; the most saturated color is #020617. Text contrast reaches 18.7:1 in light mode and 7.9:1 in dark mode, with #475569 as primary and #79889C as accent. With #475569 leading, good fits include typography-led layouts, icons and logos and fintech and banking apps.

Space Dark color palette: #020617, #0F172A, #1E293B, #475569, #94A3B8
Share image for Space Dark

Gradients in similar colors