PreviewingGo to this paletteOpen in generator
Code
/* Shadow Gray — colorset.net */
:root {
--color-1: #1E293B;
--color-2: #334155;
--color-3: #475569;
--color-4: #64748B;
--color-5: #94A3B8;
--color-bg: #F2F7FE;
--color-surface: #E9EEF5;
--color-border: #CED5DF;
--color-text: #1E293B;
--color-muted: #5D6A7F;
--color-primary: #64748B;
--color-on-primary: #FFFFFF;
--color-accent: #334155;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C1016;
--color-surface: #151A20;
--color-border: #282E38;
--color-text: #97A6BB;
--color-muted: #768498;
--color-primary: #64748B;
--color-on-primary: #FFFFFF;
--color-accent: #99A7BC;
--color-on-accent: #0C1016;
}
}
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 #94A3B8 | adjusted for contrast · from #1E293B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #94A3B8 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #94A3B8 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.59:1 | AAA pass 4.5:1 | |
| Text on surface | 12.55:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.76:1 | AA pass 4.5:1 | |
| Label on accent | 10.35:1 | AAA pass 4.5:1 | |
| Primary on background | 4.42:1 | AA Large pass 3:1 | |
| Accent on background | 9.62:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.76:1 | AA pass 4.5:1 | |
| Label on accent | 7.82:1 | AAA pass 4.5:1 | |
| Primary on background | 4.01:1 | AA Large pass 3:1 | |
| Accent on background | 7.82: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 | #1E293B (Text 1) | #334155 (Text 2) | #475569 (Text 3) | #64748B (Text 4) | #94A3B8 (Text 5) |
|---|---|---|---|---|---|
| #1E293B | Same color | 1.41— | 1.93— | 3.07AA Large | 5.71AA |
| #334155 | 1.41— | Same color | 1.37— | 2.18— | 4.04AA Large |
| #475569 | 1.93— | 1.37— | Same color | 1.59— | 2.96— |
| #64748B | 3.07AA Large | 2.18— | 1.59— | Same color | 1.86— |
| #94A3B8 | 5.71AA | 4.04AA Large | 2.96— | 1.86— | Same color |
Shades
Shades and tints (50–950)
