PreviewingGo to this paletteOpen in generator
Code
/* Soot and Silver — colorset.net */
:root {
--color-1: #2F2F2F;
--color-2: #36454F;
--color-3: #708090;
--color-4: #A9A9A9;
--color-5: #C0C0C0;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #2F2F2F;
--color-muted: #6B6B6B;
--color-primary: #708090;
--color-on-primary: #000000;
--color-accent: #36454F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #C0C0C0;
--color-muted: #838383;
--color-primary: #708090;
--color-on-primary: #0F0F0F;
--color-accent: #656565;
--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 #C0C0C0 | adjusted for contrast · from #2F2F2F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #708090 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.50:1 | AAA pass 4.5:1 | |
| Text on surface | 11.44:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 5.18:1 | AA pass 4.5:1 | |
| Label on accent | 9.90:1 | AAA pass 4.5:1 | |
| Primary on background | 3.78:1 | AA Large pass 3:1 | |
| Accent on background | 9.24:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.54:1 | AAA pass 4.5:1 | |
| Text on surface | 9.66:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.73:1 | AA pass 4.5:1 | |
| Label on accent | 5.83:1 | AA pass 4.5:1 | |
| Primary on background | 4.73:1 | AA pass 3:1 | |
| Accent on background | 3.29: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 | #2F2F2F (Text 1) | #36454F (Text 2) | #708090 (Text 3) | #A9A9A9 (Text 4) | #C0C0C0 (Text 5) |
|---|---|---|---|---|---|
| #2F2F2F | Same color | 1.35— | 3.30AA Large | 5.70AA | 7.36AAA |
| #36454F | 1.35— | Same color | 2.44— | 4.21AA Large | 5.44AA |
| #708090 | 3.30AA Large | 2.44— | Same color | 1.73— | 2.23— |
| #A9A9A9 | 5.70AA | 4.21AA Large | 1.73— | Same color | 1.29— |
| #C0C0C0 | 7.36AAA | 5.44AA | 2.23— | 1.29— | Same color |
Shades
Shades and tints (50–950)
