PreviewingGo to this paletteOpen in generator
Code
/* Silver Screen — colorset.net */
:root {
--color-1: #EFF1F5;
--color-2: #3D5AFE;
--color-3: #FF5252;
--color-4: #C8CDD8;
--color-5: #171B2B;
--color-bg: #EFF1F5;
--color-surface: #F7F8FB;
--color-border: #D5D8E0;
--color-text: #171B2B;
--color-muted: #666C80;
--color-primary: #3D5AFE;
--color-on-primary: #FFFFFF;
--color-accent: #F84B4C;
--color-on-accent: #171B2B;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #171B2B;
--color-surface: #212636;
--color-border: #363B50;
--color-text: #EFF1F5;
--color-muted: #8D8F93;
--color-primary: #405FFF;
--color-on-primary: #FFFFFF;
--color-accent: #FF5252;
--color-on-accent: #171B2B;
}
}
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 #3D5AFE |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF5252 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.12:1 | AAA pass 4.5:1 | |
| Text on surface | 16.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.62:1 | AA pass 4.5:1 | |
| Label on primary | 5.13:1 | AA pass 4.5:1 | |
| Label on accent | 4.97:1 | AA pass 4.5:1 | |
| Primary on background | 4.54:1 | AA pass 3:1 | |
| Accent on background | 3.04:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.12:1 | AAA pass 4.5:1 | |
| Text on surface | 13.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.28:1 | AA pass 4.5:1 | |
| Label on primary | 4.88:1 | AA pass 4.5:1 | |
| Label on accent | 5.36:1 | AA pass 4.5:1 | |
| Primary on background | 3.50:1 | AA Large pass 3:1 | |
| Accent on background | 5.36:1 | AA 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 | #EFF1F5 (Text 1) | #3D5AFE (Text 2) | #FF5252 (Text 3) | #C8CDD8 (Text 4) | #171B2B (Text 5) |
|---|---|---|---|---|---|
| #EFF1F5 | Same color | 4.54AA | 2.82— | 1.41— | 15.12AAA |
| #3D5AFE | 4.54AA | Same color | 1.61— | 3.22AA Large | 3.33AA Large |
| #FF5252 | 2.82— | 1.61— | Same color | 2.00— | 5.36AA |
| #C8CDD8 | 1.41— | 3.22AA Large | 2.00— | Same color | 10.73AAA |
| #171B2B | 15.12AAA | 3.33AA Large | 5.36AA | 10.73AAA | Same color |
Shades
Shades and tints (50–950)
