PreviewingGo to this paletteOpen in generator
Code
/* Gunmetal Haze — colorset.net */
:root {
--color-1: #708090;
--color-2: #7E8B9A;
--color-3: #8C96A4;
--color-4: #9AA1AE;
--color-5: #626F80;
--color-bg: #F5F7FB;
--color-surface: #EBEDF2;
--color-border: #D1D5DC;
--color-text: #414D5D;
--color-muted: #5E6A7B;
--color-primary: #708090;
--color-on-primary: #000000;
--color-accent: #434F5C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C1015;
--color-surface: #161A1F;
--color-border: #282E37;
--color-text: #A0A7B4;
--color-muted: #7E8491;
--color-primary: #708090;
--color-on-primary: #0C1015;
--color-accent: #8C96A4;
--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 #9AA1AE | adjusted for contrast · from #626F80 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #626F80 | adjusted for contrast · from #9AA1AE |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #626F80 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.01:1 | AAA pass 4.5:1 | |
| Text on surface | 7.33:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.12:1 | AA pass 4.5:1 | |
| Label on primary | 5.18:1 | AA pass 4.5:1 | |
| Label on accent | 8.36:1 | AAA pass 4.5:1 | |
| Primary on background | 3.78:1 | AA Large pass 3:1 | |
| Accent on background | 7.80:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.71:1 | AA pass 4.5:1 | |
| Label on accent | 6.37:1 | AA pass 4.5:1 | |
| Primary on background | 4.71:1 | AA pass 3:1 | |
| Accent on background | 6.37: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 | #708090 (Text 1) | #7E8B9A (Text 2) | #8C96A4 (Text 3) | #9AA1AE (Text 4) | #626F80 (Text 5) |
|---|---|---|---|---|---|
| #708090 | Same color | 1.17— | 1.35— | 1.56— | 1.26— |
| #7E8B9A | 1.17— | Same color | 1.16— | 1.34— | 1.47— |
| #8C96A4 | 1.35— | 1.16— | Same color | 1.15— | 1.71— |
| #9AA1AE | 1.56— | 1.34— | 1.15— | Same color | 1.97— |
| #626F80 | 1.26— | 1.47— | 1.71— | 1.97— | Same color |
Shades
Shades and tints (50–950)
