PreviewingGo to this paletteOpen in generator
Code
/* Gunmetal Shadow — colorset.net */
:root {
--color-1: #424242;
--color-2: #212121;
--color-3: #000000;
--color-4: #37474F;
--color-5: #455A64;
--color-bg: #F1F8FC;
--color-surface: #E8EFF2;
--color-border: #CCD7DC;
--color-text: #000000;
--color-muted: #4A4A4A;
--color-primary: #455A64;
--color-on-primary: #FFFFFF;
--color-accent: #212121;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #000000;
--color-surface: #000000;
--color-border: #090707;
--color-text: #849BA6;
--color-muted: #637983;
--color-primary: #485D67;
--color-on-primary: #FFFFFF;
--color-accent: #7B8E97;
--color-on-accent: #000000;
}
}
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 #455A64 | from palette · color 3 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 3 | adjusted for contrast · from #455A64 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #455A64 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #455A64 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.57:1 | AAA pass 4.5:1 | |
| Text on surface | 18.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 8.26:1 | AAA pass 4.5:1 | |
| Label on primary | 7.24:1 | AAA pass 4.5:1 | |
| Label on accent | 16.10:1 | AAA pass 4.5:1 | |
| Primary on background | 6.75:1 | AA pass 3:1 | |
| Accent on background | 15.01:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.22:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.59:1 | AA pass 4.5:1 | |
| Label on primary | 6.91:1 | AA pass 4.5:1 | |
| Label on accent | 6.16:1 | AA pass 4.5:1 | |
| Primary on background | 3.04:1 | AA Large pass 3:1 | |
| Accent on background | 6.16: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 | #424242 (Text 1) | #212121 (Text 2) | #000000 (Text 3) | #37474F (Text 4) | #455A64 (Text 5) |
|---|---|---|---|---|---|
| #424242 | Same color | 1.60— | 2.09— | 1.04— | 1.39— |
| #212121 | 1.60— | Same color | 1.30— | 1.67— | 2.22— |
| #000000 | 2.09— | 1.30— | Same color | 2.18— | 2.90— |
| #37474F | 1.04— | 1.67— | 2.18— | Same color | 1.33— |
| #455A64 | 1.39— | 2.22— | 2.90— | 1.33— | Same color |
Shades
Shades and tints (50–950)
