PreviewingGo to this paletteOpen in generator
Code
/* Executive Gray — colorset.net */
:root {
--color-1: #1B2631;
--color-2: #273746;
--color-3: #34495E;
--color-4: #566573;
--color-5: #85929E;
--color-bg: #F3F7FB;
--color-surface: #EAEEF2;
--color-border: #CFD6DC;
--color-text: #1B2631;
--color-muted: #5E6B78;
--color-primary: #566573;
--color-on-primary: #FFFFFF;
--color-accent: #273746;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C1014;
--color-surface: #161A1E;
--color-border: #282F35;
--color-text: #9AA8B4;
--color-muted: #788591;
--color-primary: #596876;
--color-on-primary: #FFFFFF;
--color-accent: #85929E;
--color-on-accent: #0C1014;
}
}
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 #85929E | adjusted for contrast · from #1B2631 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #85929E |
| Muted text | derived | derived |
| Primary | from palette · color 4 | adjusted for contrast · from #566573 |
| On primary | derived | derived |
| Accent | from palette · color 2 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.26:1 | AAA pass 4.5:1 | |
| Text on surface | 13.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 5.99:1 | AA pass 4.5:1 | |
| Label on accent | 12.20:1 | AAA pass 4.5:1 | |
| Primary on background | 5.57:1 | AA pass 3:1 | |
| Accent on background | 11.33:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.85:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 5.73:1 | AA pass 4.5:1 | |
| Label on accent | 6.00:1 | AA pass 4.5:1 | |
| Primary on background | 3.33:1 | AA Large pass 3:1 | |
| Accent on background | 6.00: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 | #1B2631 (Text 1) | #273746 (Text 2) | #34495E (Text 3) | #566573 (Text 4) | #85929E (Text 5) |
|---|---|---|---|---|---|
| #1B2631 | Same color | 1.26— | 1.65— | 2.56— | 4.83AA |
| #273746 | 1.26— | Same color | 1.31— | 2.04— | 3.84AA Large |
| #34495E | 1.65— | 1.31— | Same color | 1.55— | 2.92— |
| #566573 | 2.56— | 2.04— | 1.55— | Same color | 1.88— |
| #85929E | 4.83AA | 3.84AA Large | 2.92— | 1.88— | Same color |
Shades
Shades and tints (50–950)
