Export

Code

/* Monospace — colorset.net */
:root {
  --color-1: #ECECE6;
  --color-2: #0047FF;
  --color-3: #8B8B85;
  --color-4: #C4C4BD;
  --color-5: #1A1A1A;

  --color-bg: #ECECE6;
  --color-surface: #F3F3EF;
  --color-border: #D4D4CA;
  --color-text: #1A1A1A;
  --color-muted: #696969;
  --color-primary: #0047FF;
  --color-on-primary: #FFFFFF;
  --color-accent: #878781;
  --color-on-accent: #1A1A1A;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1A1A1A;
    --color-surface: #252525;
    --color-border: #3C393A;
    --color-text: #ECECE6;
    --color-muted: #8C8C86;
    --color-primary: #2262FF;
    --color-on-primary: #FFFFFF;
    --color-accent: #C4C4BD;
    --color-on-accent: #1A1A1A;
  }
}

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
Backgroundfrom palette · color 1from palette · color 5
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 5from palette · color 1
Muted textderivedderived
Primaryfrom palette · color 2adjusted for contrast · from #0047FF
On primaryderivedderived
Accentadjusted for contrast · from #8B8B85from palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.68:1AAA pass 4.5:1
Text on surface15.65:1AAA pass 4.5:1
Muted text on background4.63:1AA pass 4.5:1
Label on primary6.28:1AA pass 4.5:1
Label on accent4.82:1AA pass 4.5:1
Primary on background5.29:1AA pass 3:1
Accent on background3.05:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background14.68:1AAA pass 4.5:1
Text on surface12.93:1AAA pass 4.5:1
Muted text on background5.15:1AA pass 4.5:1
Label on primary4.93:1AA pass 4.5:1
Label on accent9.93:1AAA pass 4.5:1
Primary on background3.53:1AA Large pass 3:1
Accent on background9.93:1AAA 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#ECECE6 (Text 1)#0047FF (Text 2)#8B8B85 (Text 3)#C4C4BD (Text 4)#1A1A1A (Text 5)
#ECECE6Same color5.29AA2.89—1.48—14.68AAA
#0047FF5.29AASame color1.83—3.58AA Large2.77—
#8B8B852.89—1.83—Same color1.95—5.08AA
#C4C4BD1.48—3.58AA Large1.95—Same color9.93AAA
#1A1A1A14.68AAA2.77—5.08AA9.93AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#ECECE6#0047FF#8B8B85#C4C4BD#1A1A1A

Variations

About Monospace

Typewriter grey and a single hyperlink blue. Monospace is a balanced blue-and-neutral palette of 5 colors that runs from white #ECECE6 to charcoal #1A1A1A. Everything except vivid blue #0047FF is close to neutral, which leaves that one color to carry the brand. Lightness runs from 22% to 94% (OKLCH), with #8B8B85 in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.060, peaking at 0.274 in #0047FF); the colors feel soft and muted. As a UI theme it uses #0047FF for primary actions and #878781 as the accent; dark mode sits on #1A1A1A with #ECECE6 text (14.7:1). Try it for presentation slides, signage and data visualization, letting vivid blue #0047FF carry the key actions.

Monospace color palette: #ECECE6, #0047FF, #8B8B85, #C4C4BD, #1A1A1A
Share image for Monospace

Gradients in similar colors