PreviewingGo to this paletteOpen in generator
Code
/* Pewter Tide — colorset.net */
:root {
--color-1: #5D5C61;
--color-2: #7395AE;
--color-3: #96BAFF;
--color-4: #B8D8D8;
--color-5: #E8F8F5;
--color-bg: #E8F8F5;
--color-surface: #F4FEFC;
--color-border: #CCE0DD;
--color-text: #525156;
--color-muted: #6F6E73;
--color-primary: #698BCD;
--color-on-primary: #000000;
--color-accent: #808F8C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F11;
--color-surface: #19191B;
--color-border: #2E2D32;
--color-text: #E8F8F5;
--color-muted: #7F8D8B;
--color-primary: #96BAFF;
--color-on-primary: #0F0F11;
--color-accent: #68676C;
--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 | from palette · color 5 | adjusted for contrast · from #5D5C61 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #5D5C61 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #7395AE | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7395AE | adjusted for contrast · from #5D5C61 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.18:1 | AAA pass 4.5:1 | |
| Text on surface | 7.65:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.62:1 | AA pass 4.5:1 | |
| Label on primary | 6.18:1 | AA pass 4.5:1 | |
| Label on accent | 6.23:1 | AA pass 4.5:1 | |
| Primary on background | 3.11:1 | AA Large pass 3:1 | |
| Accent on background | 3.08:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.49:1 | AAA pass 4.5:1 | |
| Text on surface | 16.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.55:1 | AA pass 4.5:1 | |
| Label on primary | 9.81:1 | AAA pass 4.5:1 | |
| Label on accent | 5.61:1 | AA pass 4.5:1 | |
| Primary on background | 9.81:1 | AAA pass 3:1 | |
| Accent on background | 3.41: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 | #5D5C61 (Text 1) | #7395AE (Text 2) | #96BAFF (Text 3) | #B8D8D8 (Text 4) | #E8F8F5 (Text 5) |
|---|---|---|---|---|---|
| #5D5C61 | Same color | 2.10— | 3.40AA Large | 4.37AA Large | 6.05AA |
| #7395AE | 2.10— | Same color | 1.62— | 2.09— | 2.89— |
| #96BAFF | 3.40AA Large | 1.62— | Same color | 1.29— | 1.78— |
| #B8D8D8 | 4.37AA Large | 2.09— | 1.29— | Same color | 1.38— |
| #E8F8F5 | 6.05AA | 2.89— | 1.78— | 1.38— | Same color |
Shades
Shades and tints (50–950)
