PreviewingGo to this paletteOpen in generator
Code
/* Night Console — colorset.net */
:root {
--color-1: #0E1117;
--color-2: #7C9CFF;
--color-3: #3DDC97;
--color-4: #3A4250;
--color-5: #E6EAF2;
--color-bg: #E6EAF2;
--color-surface: #EFF1F6;
--color-border: #CCD2DD;
--color-text: #0E1117;
--color-muted: #5E626A;
--color-primary: #5470CF;
--color-on-primary: #FFFFFF;
--color-accent: #008656;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E1117;
--color-surface: #181B22;
--color-border: #2B3039;
--color-text: #E6EAF2;
--color-muted: #82858D;
--color-primary: #7C9CFF;
--color-on-primary: #0E1117;
--color-accent: #3DDC97;
--color-on-accent: #0E1117;
}
}
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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #7C9CFF | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #3A4250 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.67:1 | AAA pass 4.5:1 | |
| Text on surface | 16.72:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 3.79:1 | AA Large pass 3:1 | |
| Accent on background | 3.83:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.67:1 | AAA pass 4.5:1 | |
| Text on surface | 14.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.12:1 | AA pass 4.5:1 | |
| Label on primary | 7.25:1 | AAA pass 4.5:1 | |
| Label on accent | 10.69:1 | AAA pass 4.5:1 | |
| Primary on background | 7.25:1 | AAA pass 3:1 | |
| Accent on background | 10.69: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 | #0E1117 (Text 1) | #7C9CFF (Text 2) | #3DDC97 (Text 3) | #3A4250 (Text 4) | #E6EAF2 (Text 5) |
|---|---|---|---|---|---|
| #0E1117 | Same color | 7.25AAA | 10.69AAA | 1.87— | 15.67AAA |
| #7C9CFF | 7.25AAA | Same color | 1.47— | 3.88AA Large | 2.16— |
| #3DDC97 | 10.69AAA | 1.47— | Same color | 5.73AA | 1.47— |
| #3A4250 | 1.87— | 3.88AA Large | 5.73AA | Same color | 8.39AAA |
| #E6EAF2 | 15.67AAA | 2.16— | 1.47— | 8.39AAA | Same color |
Shades
Shades and tints (50–950)
