Digital Colors

Export

Code

/* Digital Colors — colorset.net */
:root {
  --color-1: #0366D6;
  --color-2: #28A745;
  --color-3: #D73A49;
  --color-4: #F66A0A;
  --color-5: #6F42C1;

  --color-bg: #FFF4F0;
  --color-surface: #FAEAE3;
  --color-border: #E4D0C8;
  --color-text: #54457C;
  --color-muted: #6D6781;
  --color-primary: #D73A49;
  --color-on-primary: #FFFFFF;
  --color-accent: #00892F;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #110C1D;
    --color-surface: #1B1628;
    --color-border: #2F2A40;
    --color-text: #C39E8D;
    --color-muted: #997D70;
    --color-primary: #D73A49;
    --color-on-primary: #FFFFFF;
    --color-accent: #28A745;
    --color-on-accent: #110C1D;
  }
}

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 #F66A0Aadjusted for contrast · from #6F42C1
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #6F42C1adjusted for contrast · from #F66A0A
Muted textderivedderived
Primaryfrom palette · color 3from palette · color 3
On primaryderivedderived
Accentadjusted for contrast · from #28A745from palette · color 2
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.72:1AAA pass 4.5:1
Text on surface7.12:1AAA pass 4.5:1
Muted text on background4.98:1AA pass 4.5:1
Label on primary4.57:1AA pass 4.5:1
Label on accent4.55:1AA pass 4.5:1
Primary on background4.24:1AA Large pass 3:1
Accent on background4.21:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.86:1AAA pass 4.5:1
Text on surface7.21:1AAA pass 4.5:1
Muted text on background5.05:1AA pass 4.5:1
Label on primary4.57:1AA pass 4.5:1
Label on accent6.13:1AA pass 4.5:1
Primary on background4.20:1AA Large pass 3:1
Accent on background6.13: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#0366D6 (Text 1)#28A745 (Text 2)#D73A49 (Text 3)#F66A0A (Text 4)#6F42C1 (Text 5)
#0366D6Same color1.73—1.18—1.80—1.20—
#28A7451.73—Same color1.46—1.04—2.08—
#D73A491.18—1.46—Same color1.52—1.42—
#F66A0A1.80—1.04—1.52—Same color2.17—
#6F42C11.20—2.08—1.42—2.17—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#0366D6#28A745#D73A49#F66A0A#6F42C1

Variations

About Digital Colors

Five colors make up Digital Colors, a balanced multi-color set: #0366D6, #28A745, #D73A49, #F66A0A, #6F42C1. Vivid green #28A745 and vivid purple #6F42C1 are 148° apart, so the palette has clear hue contrast without clashing. From #6F42C1 to #F66A0A the colors share a similar mid-tone value (lightness 50%–69%), which suits fills and illustration more than body text. Average chroma is 0.188, high for a palette, so the colors feel saturated and energetic; the most saturated color is #D73A49. As a UI theme it uses #D73A49 for primary actions and #00892F as the accent; dark mode sits on #110C1D with #C39E8D text (7.9:1). Try it for infographics, educational content and illustration, letting vivid red #D73A49 carry the key actions.

Digital Colors color palette: #0366D6, #28A745, #D73A49, #F66A0A, #6F42C1
Share image for Digital Colors

Gradients in similar colors