Export

Code

/* Dark Theme — colorset.net */
:root {
  --color-1: #36393F;
  --color-2: #2F3136;
  --color-3: #202225;
  --color-4: #5865F2;
  --color-5: #99AAB5;

  --color-bg: #F2F8FB;
  --color-surface: #E9EEF2;
  --color-border: #CED6DC;
  --color-text: #202225;
  --color-muted: #686B6E;
  --color-primary: #5865F2;
  --color-on-primary: #FFFFFF;
  --color-accent: #2F3136;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #202225;
    --color-surface: #2B2D30;
    --color-border: #3F4349;
    --color-text: #ACBDC8;
    --color-muted: #8596A1;
    --color-primary: #5B68F6;
    --color-on-primary: #000000;
    --color-accent: #75787C;
    --color-on-accent: #000000;
  }
}

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 #99AAB5from palette · color 3
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 3adjusted for contrast · from #99AAB5
Muted textderivedderived
Primaryfrom palette · color 4adjusted for contrast · from #5865F2
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #99AAB5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.88:1AAA pass 4.5:1
Text on surface13.65:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary4.61:1AA pass 4.5:1
Label on accent13.02:1AAA pass 4.5:1
Primary on background4.30:1AA Large pass 3:1
Accent on background12.14:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background8.25:1AAA pass 4.5:1
Text on surface7.15:1AAA pass 4.5:1
Muted text on background5.22:1AA pass 4.5:1
Label on primary4.76:1AA pass 4.5:1
Label on accent4.73:1AA pass 4.5:1
Primary on background3.61:1AA Large pass 3:1
Accent on background3.59: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#36393F (Text 1)#2F3136 (Text 2)#202225 (Text 3)#5865F2 (Text 4)#99AAB5 (Text 5)
#36393FSame color1.12—1.38—2.51—4.84AA
#2F31361.12—Same color1.23—2.83—5.44AA
#2022251.38—1.23—Same color3.46AA Large6.66AA
#5865F22.51—2.83—3.46AA LargeSame color1.92—
#99AAB54.84AA5.44AA6.66AA1.92—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#36393F#2F3136#202225#5865F2#99AAB5

Variations

About Dark Theme

Dark Theme is a balanced blue-and-neutral palette of 5 colors that runs from gray #99AAB5 to charcoal #202225. Everything except vivid blue #5865F2 is close to neutral, which leaves that one color to carry the brand. Lightness spans 25% (#202225) to 73% (#99AAB5), a moderate range; text roles may need slight darkening for full contrast. Saturation is low (mean OKLCH chroma 0.052, peaking at 0.209 in #5865F2); the colors feel soft and muted. In light mode #F2F8FB becomes the background with #202225 text at 14.9:1, and #5865F2 takes the primary role. With #5865F2 leading, good fits include marketing pages, brand systems with many sub-brands and illustration.

Dark Theme color palette: #36393F, #2F3136, #202225, #5865F2, #99AAB5
Share image for Dark Theme

Gradients in similar colors