PreviewingGo to this paletteOpen in generator
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
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #0047FF |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8B8B85 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.68:1 | AAA pass 4.5:1 | |
| Text on surface | 15.65:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.63:1 | AA pass 4.5:1 | |
| Label on primary | 6.28:1 | AA pass 4.5:1 | |
| Label on accent | 4.82:1 | AA pass 4.5:1 | |
| Primary on background | 5.29:1 | AA pass 3:1 | |
| Accent on background | 3.05:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.68:1 | AAA pass 4.5:1 | |
| Text on surface | 12.93:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.15:1 | AA pass 4.5:1 | |
| Label on primary | 4.93:1 | AA pass 4.5:1 | |
| Label on accent | 9.93:1 | AAA pass 4.5:1 | |
| Primary on background | 3.53:1 | AA Large pass 3:1 | |
| Accent on background | 9.93:1 | AAA 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.
| Background / Text | #ECECE6 (Text 1) | #0047FF (Text 2) | #8B8B85 (Text 3) | #C4C4BD (Text 4) | #1A1A1A (Text 5) |
|---|---|---|---|---|---|
| #ECECE6 | Same color | 5.29AA | 2.89— | 1.48— | 14.68AAA |
| #0047FF | 5.29AA | Same color | 1.83— | 3.58AA Large | 2.77— |
| #8B8B85 | 2.89— | 1.83— | Same color | 1.95— | 5.08AA |
| #C4C4BD | 1.48— | 3.58AA Large | 1.95— | Same color | 9.93AAA |
| #1A1A1A | 14.68AAA | 2.77— | 5.08AA | 9.93AAA | Same color |
Shades
Shades and tints (50–950)
