PreviewingGo to this paletteOpen in generator
Code
/* Metal Steel — colorset.net */
:root {
--color-1: #36454F;
--color-2: #708090;
--color-3: #A9A9A9;
--color-4: #C0C0C0;
--color-5: #DCDCDC;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #36454F;
--color-muted: #5C6C76;
--color-primary: #708090;
--color-on-primary: #000000;
--color-accent: #434F5C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1013;
--color-surface: #151A1E;
--color-border: #272F35;
--color-text: #DCDCDC;
--color-muted: #838383;
--color-primary: #708090;
--color-on-primary: #0B1013;
--color-accent: #596974;
--color-on-accent: #FFFFFF;
}
}
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 #36454F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #36454F | adjusted for contrast · from #708090 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.24:1 | AAA pass 4.5:1 | |
| Text on surface | 8.46:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08: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.95:1 | AAA pass 4.5:1 | |
| Text on surface | 12.78:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.72:1 | AA pass 4.5:1 | |
| Label on accent | 5.68:1 | AA pass 4.5:1 | |
| Primary on background | 4.72:1 | AA pass 3:1 | |
| Accent on background | 3.37:1 | AA Large 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 | #36454F (Text 1) | #708090 (Text 2) | #A9A9A9 (Text 3) | #C0C0C0 (Text 4) | #DCDCDC (Text 5) |
|---|---|---|---|---|---|
| #36454F | Same color | 2.44— | 4.21AA Large | 5.44AA | 7.22AAA |
| #708090 | 2.44— | Same color | 1.73— | 2.23— | 2.96— |
| #A9A9A9 | 4.21AA Large | 1.73— | Same color | 1.29— | 1.71— |
| #C0C0C0 | 5.44AA | 2.23— | 1.29— | Same color | 1.33— |
| #DCDCDC | 7.22AAA | 2.96— | 1.71— | 1.33— | Same color |
Shades
Shades and tints (50–950)
