PreviewingGo to this paletteOpen in generator
Code
/* Wisdom Gray — colorset.net */
:root {
--color-1: #17202A;
--color-2: #2C3E50;
--color-3: #566573;
--color-4: #85929E;
--color-5: #D5DBDB;
--color-bg: #F5F7F7;
--color-surface: #ECEEEE;
--color-border: #D0D6D6;
--color-text: #17202A;
--color-muted: #626D79;
--color-primary: #566573;
--color-on-primary: #FFFFFF;
--color-accent: #848989;
--color-on-accent: #17202A;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #17202A;
--color-surface: #222B35;
--color-border: #35414E;
--color-text: #D5DBDB;
--color-muted: #8C9292;
--color-primary: #677685;
--color-on-primary: #FFFFFF;
--color-accent: #85929E;
--color-on-accent: #17202A;
}
}
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 #D5DBDB | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | adjusted for contrast · from #566573 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #85929E | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.30:1 | AAA pass 4.5:1 | |
| Text on surface | 14.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 5.99:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 5.57:1 | AA pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.74:1 | AAA pass 4.5:1 | |
| Text on surface | 10.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.20:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 5.17:1 | AA pass 4.5:1 | |
| Primary on background | 3.53:1 | AA Large pass 3:1 | |
| Accent on background | 5.17: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 | #17202A (Text 1) | #2C3E50 (Text 2) | #566573 (Text 3) | #85929E (Text 4) | #D5DBDB (Text 5) |
|---|---|---|---|---|---|
| #17202A | Same color | 1.50— | 2.75— | 5.17AA | 11.74AAA |
| #2C3E50 | 1.50— | Same color | 1.83— | 3.45AA Large | 7.84AAA |
| #566573 | 2.75— | 1.83— | Same color | 1.88— | 4.28AA Large |
| #85929E | 5.17AA | 3.45AA Large | 1.88— | Same color | 2.27— |
| #D5DBDB | 11.74AAA | 7.84AAA | 4.28AA Large | 2.27— | Same color |
Shades
Shades and tints (50–950)
