PreviewingGo to this paletteOpen in generator
Code
/* Gunmetal Blue — colorset.net */
:root {
--color-1: #2A3439;
--color-2: #3C4B51;
--color-3: #4E6269;
--color-4: #607981;
--color-5: #729099;
--color-bg: #EFF9FC;
--color-surface: #E6EFF2;
--color-border: #CAD8DC;
--color-text: #2A3439;
--color-muted: #616C72;
--color-primary: #607981;
--color-on-primary: #FFFFFF;
--color-accent: #3C4B51;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D1012;
--color-surface: #161A1C;
--color-border: #282F32;
--color-text: #8AA9B2;
--color-muted: #6A8790;
--color-primary: #607981;
--color-on-primary: #FFFFFF;
--color-accent: #729099;
--color-on-accent: #0D1012;
}
}
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 #729099 | adjusted for contrast · from #2A3439 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #729099 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| 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 | 11.90:1 | AAA pass 4.5:1 | |
| Text on surface | 10.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 9.06:1 | AAA pass 4.5:1 | |
| Primary on background | 4.31:1 | AA Large pass 3:1 | |
| Accent on background | 8.47:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.64:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.60:1 | AA pass 4.5:1 | |
| Primary on background | 4.14:1 | AA Large pass 3:1 | |
| Accent on background | 5.60: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 | #2A3439 (Text 1) | #3C4B51 (Text 2) | #4E6269 (Text 3) | #607981 (Text 4) | #729099 (Text 5) |
|---|---|---|---|---|---|
| #2A3439 | Same color | 1.41— | 1.99— | 2.76— | 3.74AA Large |
| #3C4B51 | 1.41— | Same color | 1.41— | 1.96— | 2.66— |
| #4E6269 | 1.99— | 1.41— | Same color | 1.39— | 1.88— |
| #607981 | 2.76— | 1.96— | 1.39— | Same color | 1.36— |
| #729099 | 3.74AA Large | 2.66— | 1.88— | 1.36— | Same color |
Shades
Shades and tints (50–950)
