PreviewingGo to this paletteOpen in generator
Code
/* Gray Thunder — colorset.net */
:root {
--color-1: #566573;
--color-2: #5D6D7E;
--color-3: #85929E;
--color-4: #AEB6BF;
--color-5: #D5DBDB;
--color-bg: #F5F7F7;
--color-surface: #ECEEEE;
--color-border: #D0D6D6;
--color-text: #404F5C;
--color-muted: #5D6C7A;
--color-primary: #5D6D7E;
--color-on-primary: #FFFFFF;
--color-accent: #848989;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1014;
--color-surface: #151A1F;
--color-border: #272F36;
--color-text: #D5DBDB;
--color-muted: #7E8383;
--color-primary: #5D6D7E;
--color-on-primary: #FFFFFF;
--color-accent: #AEB6BF;
--color-on-accent: #0B1014;
}
}
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 | adjusted for contrast · from #566573 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #566573 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| 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 | 7.84:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.31:1 | AA pass 4.5:1 | |
| Label on accent | 5.92:1 | AA pass 4.5:1 | |
| Primary on background | 4.94:1 | AA pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.64:1 | AAA pass 4.5:1 | |
| Text on surface | 12.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 5.31:1 | AA pass 4.5:1 | |
| Label on accent | 9.33:1 | AAA pass 4.5:1 | |
| Primary on background | 3.60:1 | AA Large pass 3:1 | |
| Accent on background | 9.33: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 | #566573 (Text 1) | #5D6D7E (Text 2) | #85929E (Text 3) | #AEB6BF (Text 4) | #D5DBDB (Text 5) |
|---|---|---|---|---|---|
| #566573 | Same color | 1.13— | 1.88— | 2.92— | 4.28AA Large |
| #5D6D7E | 1.13— | Same color | 1.67— | 2.59— | 3.79AA Large |
| #85929E | 1.88— | 1.67— | Same color | 1.55— | 2.27— |
| #AEB6BF | 2.92— | 2.59— | 1.55— | Same color | 1.46— |
| #D5DBDB | 4.28AA Large | 3.79AA Large | 2.27— | 1.46— | Same color |
Shades
Shades and tints (50–950)
