PreviewingGo to this paletteOpen in generator
Code
/* Pewter Lake — colorset.net */
:root {
--color-1: #37474F;
--color-2: #546E7A;
--color-3: #607D8B;
--color-4: #90A4AE;
--color-5: #B0BEC5;
--color-bg: #F3F8FA;
--color-surface: #EAEEF0;
--color-border: #CED6DA;
--color-text: #37474F;
--color-muted: #5C6D76;
--color-primary: #607D8B;
--color-on-primary: #000000;
--color-accent: #354C57;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1013;
--color-surface: #151A1D;
--color-border: #262F34;
--color-text: #B0BEC5;
--color-muted: #79868C;
--color-primary: #607D8B;
--color-on-primary: #000000;
--color-accent: #576871;
--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 #B0BEC5 | adjusted for contrast · from #37474F |
| 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 | adjusted for contrast · from #37474F | adjusted for contrast · from #546E7A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.01:1 | AAA pass 4.5:1 | |
| Text on surface | 8.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03: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.45:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.04:1 | AAA pass 4.5:1 | |
| Text on surface | 9.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 4.80:1 | AA pass 4.5:1 | |
| Label on accent | 5.79:1 | AA pass 4.5:1 | |
| Primary on background | 4.38:1 | AA Large pass 3:1 | |
| Accent on background | 3.30: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 | #37474F (Text 1) | #546E7A (Text 2) | #607D8B (Text 3) | #90A4AE (Text 4) | #B0BEC5 (Text 5) |
|---|---|---|---|---|---|
| #37474F | Same color | 1.79— | 2.21— | 3.72AA Large | 5.06AA |
| #546E7A | 1.79— | Same color | 1.24— | 2.09— | 2.83— |
| #607D8B | 2.21— | 1.24— | Same color | 1.69— | 2.29— |
| #90A4AE | 3.72AA Large | 2.09— | 1.69— | Same color | 1.36— |
| #B0BEC5 | 5.06AA | 2.83— | 2.29— | 1.36— | Same color |
Shades
Shades and tints (50–950)
