PreviewingGo to this paletteOpen in generator
Code
/* Storm Gray — colorset.net */
:root {
--color-1: #374151;
--color-2: #4B5563;
--color-3: #6B7280;
--color-4: #9CA3AF;
--color-5: #D1D5DB;
--color-bg: #F6F7F9;
--color-surface: #ECEDEF;
--color-border: #D2D5DA;
--color-text: #374151;
--color-muted: #606B7D;
--color-primary: #6B7280;
--color-on-primary: #FFFFFF;
--color-accent: #83878C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C1015;
--color-surface: #161A1F;
--color-border: #292E37;
--color-text: #D1D5DB;
--color-muted: #7F8288;
--color-primary: #6B7280;
--color-on-primary: #FFFFFF;
--color-accent: #9CA3AF;
--color-on-accent: #0C1015;
}
}
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 #D1D5DB | adjusted for contrast · from #374151 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6B7280 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.62:1 | AAA pass 4.5:1 | |
| Text on surface | 8.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 5.81:1 | AA pass 4.5:1 | |
| Primary on background | 4.51:1 | AA pass 3:1 | |
| Accent on background | 3.37:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.95:1 | AAA pass 4.5:1 | |
| Text on surface | 11.86:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 7.52:1 | AAA pass 4.5:1 | |
| Primary on background | 3.95:1 | AA Large pass 3:1 | |
| Accent on background | 7.52: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 | #374151 (Text 1) | #4B5563 (Text 2) | #6B7280 (Text 3) | #9CA3AF (Text 4) | #D1D5DB (Text 5) |
|---|---|---|---|---|---|
| #374151 | Same color | 1.36— | 2.13— | 4.06AA Large | 7.00AAA |
| #4B5563 | 1.36— | Same color | 1.56— | 2.98— | 5.13AA |
| #6B7280 | 2.13— | 1.56— | Same color | 1.90— | 3.28AA Large |
| #9CA3AF | 4.06AA Large | 2.98— | 1.90— | Same color | 1.72— |
| #D1D5DB | 7.00AAA | 5.13AA | 3.28AA Large | 1.72— | Same color |
Shades
Shades and tints (50–950)
