PreviewingGo to this paletteOpen in generator
Code
/* Gray Silver — colorset.net */
:root {
--color-1: #708090;
--color-2: #A9A9A9;
--color-3: #C0C0C0;
--color-4: #D3D3D3;
--color-5: #DCDCDC;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #414F5E;
--color-muted: #5D6C7C;
--color-primary: #708090;
--color-on-primary: #000000;
--color-accent: #434F5C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1015;
--color-surface: #151A1F;
--color-border: #272F36;
--color-text: #DCDCDC;
--color-muted: #838383;
--color-primary: #708090;
--color-on-primary: #0B1015;
--color-accent: #C0C0C0;
--color-on-accent: #0B1015;
}
}
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 | adjusted for contrast · from #DCDCDC | adjusted for contrast · from #708090 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #708090 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #708090 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.83:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.18:1 | AA pass 4.5:1 | |
| Label on accent | 8.36:1 | AAA pass 4.5:1 | |
| Primary on background | 3.78:1 | AA Large pass 3:1 | |
| Accent on background | 7.80:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.93:1 | AAA pass 4.5:1 | |
| Text on surface | 12.77:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.71:1 | AA pass 4.5:1 | |
| Label on accent | 10.50:1 | AAA pass 4.5:1 | |
| Primary on background | 4.71:1 | AA pass 3:1 | |
| Accent on background | 10.50: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 | #708090 (Text 1) | #A9A9A9 (Text 2) | #C0C0C0 (Text 3) | #D3D3D3 (Text 4) | #DCDCDC (Text 5) |
|---|---|---|---|---|---|
| #708090 | Same color | 1.73— | 2.23— | 2.71— | 2.96— |
| #A9A9A9 | 1.73— | Same color | 1.29— | 1.57— | 1.71— |
| #C0C0C0 | 2.23— | 1.29— | Same color | 1.22— | 1.33— |
| #D3D3D3 | 2.71— | 1.57— | 1.22— | Same color | 1.09— |
| #DCDCDC | 2.96— | 1.71— | 1.33— | 1.09— | Same color |
Shades
Shades and tints (50–950)
