PreviewingGo to this paletteOpen in generator
Code
/* Storm Grey — colorset.net */
:root {
--color-1: #1A202C;
--color-2: #2D3748;
--color-3: #4A5568;
--color-4: #718096;
--color-5: #A0AEC0;
--color-bg: #F3F7FD;
--color-surface: #E9EEF4;
--color-border: #CFD6DE;
--color-text: #1A202C;
--color-muted: #656C7B;
--color-primary: #718096;
--color-on-primary: #000000;
--color-accent: #2D3748;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A202C;
--color-surface: #252B37;
--color-border: #394151;
--color-text: #ACBBCD;
--color-muted: #8593A4;
--color-primary: #718096;
--color-on-primary: #000000;
--color-accent: #A6B4C8;
--color-on-accent: #1A202C;
}
}
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 #A0AEC0 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #A0AEC0 |
| 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 #A0AEC0 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.18:1 | AAA pass 4.5:1 | |
| Text on surface | 13.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 5.23:1 | AA pass 4.5:1 | |
| Label on accent | 11.99:1 | AAA pass 4.5:1 | |
| Primary on background | 3.73:1 | AA Large pass 3:1 | |
| Accent on background | 11.15:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.35:1 | AAA pass 4.5:1 | |
| Text on surface | 7.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.21:1 | AA pass 4.5:1 | |
| Label on primary | 5.23:1 | AA pass 4.5:1 | |
| Label on accent | 7.76:1 | AAA pass 4.5:1 | |
| Primary on background | 4.06:1 | AA Large pass 3:1 | |
| Accent on background | 7.76: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 | #1A202C (Text 1) | #2D3748 (Text 2) | #4A5568 (Text 3) | #718096 (Text 4) | #A0AEC0 (Text 5) |
|---|---|---|---|---|---|
| #1A202C | Same color | 1.36— | 2.17— | 4.06AA Large | 7.23AAA |
| #2D3748 | 1.36— | Same color | 1.59— | 2.99— | 5.32AA |
| #4A5568 | 2.17— | 1.59— | Same color | 1.87— | 3.34AA Large |
| #718096 | 4.06AA Large | 2.99— | 1.87— | Same color | 1.78— |
| #A0AEC0 | 7.23AAA | 5.32AA | 3.34AA Large | 1.78— | Same color |
Shades
Shades and tints (50–950)
