PreviewingGo to this paletteOpen in generator
Code
/* Pewter Rain — colorset.net */
:root {
--color-1: #455A64;
--color-2: #546E7A;
--color-3: #607D8B;
--color-4: #78909C;
--color-5: #90A4AE;
--color-bg: #F2F8FB;
--color-surface: #E8EFF2;
--color-border: #CDD7DC;
--color-text: #3D525C;
--color-muted: #596E79;
--color-primary: #607D8B;
--color-on-primary: #000000;
--color-accent: #354C57;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1114;
--color-surface: #141B1E;
--color-border: #253035;
--color-text: #96AAB4;
--color-muted: #748791;
--color-primary: #607D8B;
--color-on-primary: #000000;
--color-accent: #78909C;
--color-on-accent: #0A1114;
}
}
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 #90A4AE | adjusted for contrast · from #455A64 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #455A64 | adjusted for contrast · from #90A4AE |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #455A64 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.65:1 | AAA pass 4.5:1 | |
| Text on surface | 7.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.80:1 | AA pass 4.5:1 | |
| Label on accent | 9.04:1 | AAA pass 4.5:1 | |
| Primary on background | 4.08:1 | AA Large pass 3:1 | |
| Accent on background | 8.44:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.80:1 | AA pass 4.5:1 | |
| Label on accent | 5.68:1 | AA pass 4.5:1 | |
| Primary on background | 4.35:1 | AA Large pass 3:1 | |
| Accent on background | 5.68: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 | #455A64 (Text 1) | #546E7A (Text 2) | #607D8B (Text 3) | #78909C (Text 4) | #90A4AE (Text 5) |
|---|---|---|---|---|---|
| #455A64 | Same color | 1.34— | 1.66— | 2.16— | 2.80— |
| #546E7A | 1.34— | Same color | 1.24— | 1.61— | 2.09— |
| #607D8B | 1.66— | 1.24— | Same color | 1.30— | 1.69— |
| #78909C | 2.16— | 1.61— | 1.30— | Same color | 1.29— |
| #90A4AE | 2.80— | 2.09— | 1.69— | 1.29— | Same color |
Shades
Shades and tints (50–950)
