Export

Code

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

  --color-bg: #F2F7FF;
  --color-surface: #E9EEF5;
  --color-border: #CED5E0;
  --color-text: #020617;
  --color-muted: #545F76;
  --color-primary: #475569;
  --color-on-primary: #FFFFFF;
  --color-accent: #0F172A;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #020617;
    --color-surface: #070F22;
    --color-border: #1A2337;
    --color-text: #8F9EB5;
    --color-muted: #6F7E93;
    --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 #475569from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #475569
Muted textderivedderived
Primaryfrom palette · color 5adjusted for contrast · from #475569
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #475569
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background18.75: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 accent17.85:1AAA pass 4.5:1
Primary on background7.04:1AAA pass 3:1
Accent on background16.60:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.42:1AAA pass 4.5:1
Text on surface7.02:1AAA pass 4.5:1
Muted text on background4.88: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)#334155 (Text 4)#475569 (Text 5)
#020617Same color1.13—1.38—1.95—2.66—
#0F172A1.13—Same color1.22—1.72—2.36—
#1E293B1.38—1.22—Same color1.41—1.93—
#3341551.95—1.72—1.41—Same color1.37—
#4755692.66—2.36—1.93—1.37—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#020617#0F172A#1E293B#334155#475569

Variations

About Dark Space

Dark Space is a cool blue palette of 5 colors that runs from dark blue #475569 to near-black #020617. With a hue spread of just 8°, it is effectively monochromatic: #020617, #0F172A and #1E293B differ mostly in lightness. Lightness spans 13% (#020617) to 45% (#475569), a moderate range; text roles may need slight darkening for full contrast. Saturation is low (mean OKLCH chroma 0.039, peaking at 0.041 in #020617); the colors feel soft and muted. Text contrast reaches 18.8:1 in light mode and 7.4:1 in dark mode, with #475569 as primary and #0F172A as accent. Its muted and dark character, led by #475569, suits minimal branding, focused single-product sites and boutique brands.

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

Gradients in similar colors