PreviewingGo to this paletteOpen in generator
Code
/* Pewter Blue — colorset.net */
:root {
--color-1: #728C9D;
--color-2: #89A3B3;
--color-3: #A0B9C9;
--color-4: #B7D0DF;
--color-5: #CEE7F5;
--color-bg: #F1F8FC;
--color-surface: #E7EFF3;
--color-border: #CCD7DD;
--color-text: #3A5262;
--color-muted: #556F7F;
--color-primary: #728C9D;
--color-on-primary: #000000;
--color-accent: #455A67;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #091015;
--color-surface: #131B20;
--color-border: #243037;
--color-text: #CEE7F5;
--color-muted: #6E8591;
--color-primary: #728C9D;
--color-on-primary: #091015;
--color-accent: #B7D0DF;
--color-on-accent: #091015;
}
}
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 #CEE7F5 | adjusted for contrast · from #728C9D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #728C9D | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #728C9D | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.64:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 5.95:1 | AA pass 4.5:1 | |
| Label on accent | 7.21:1 | AAA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 6.72:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.93:1 | AAA pass 4.5:1 | |
| Text on surface | 13.58:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 5.43:1 | AA pass 4.5:1 | |
| Label on accent | 11.95:1 | AAA pass 4.5:1 | |
| Primary on background | 5.43:1 | AA pass 3:1 | |
| Accent on background | 11.95:1 | AAA 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 | #728C9D (Text 1) | #89A3B3 (Text 2) | #A0B9C9 (Text 3) | #B7D0DF (Text 4) | #CEE7F5 (Text 5) |
|---|---|---|---|---|---|
| #728C9D | Same color | 1.34— | 1.73— | 2.20— | 2.75— |
| #89A3B3 | 1.34— | Same color | 1.29— | 1.65— | 2.06— |
| #A0B9C9 | 1.73— | 1.29— | Same color | 1.27— | 1.59— |
| #B7D0DF | 2.20— | 1.65— | 1.27— | Same color | 1.25— |
| #CEE7F5 | 2.75— | 2.06— | 1.59— | 1.25— | Same color |
Shades
Shades and tints (50–950)
