PreviewingGo to this paletteOpen in generator
Code
/* Nordic Gray — colorset.net */
:root {
--color-1: #ECEFF1;
--color-2: #CFD8DC;
--color-3: #B0BEC5;
--color-4: #78909C;
--color-5: #455A64;
--color-bg: #ECEFF1;
--color-surface: #F4F6F7;
--color-border: #D1D7DB;
--color-text: #3D525C;
--color-muted: #596E79;
--color-primary: #758D99;
--color-on-primary: #000000;
--color-accent: #485B64;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1114;
--color-surface: #141B1E;
--color-border: #253035;
--color-text: #ECEFF1;
--color-muted: #858789;
--color-primary: #78909C;
--color-on-primary: #0A1114;
--color-accent: #CFD8DC;
--color-on-accent: #0A1114;
}
}
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 | from palette · color 1 | adjusted for contrast · from #455A64 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #455A64 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #78909C | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #455A64 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.10:1 | AAA pass 4.5:1 | |
| Text on surface | 7.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.63:1 | AA pass 4.5:1 | |
| Label on primary | 6.03:1 | AA pass 4.5:1 | |
| Label on accent | 7.10:1 | AAA pass 4.5:1 | |
| Primary on background | 3.02:1 | AA Large pass 3:1 | |
| Accent on background | 6.15:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.48:1 | AAA pass 4.5:1 | |
| Text on surface | 15.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.28:1 | AA pass 4.5:1 | |
| Label on primary | 5.68:1 | AA pass 4.5:1 | |
| Label on accent | 13.15:1 | AAA pass 4.5:1 | |
| Primary on background | 5.68:1 | AA pass 3:1 | |
| Accent on background | 13.15: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 | #ECEFF1 (Text 1) | #CFD8DC (Text 2) | #B0BEC5 (Text 3) | #78909C (Text 4) | #455A64 (Text 5) |
|---|---|---|---|---|---|
| #ECEFF1 | Same color | 1.25— | 1.65— | 2.90— | 6.27AA |
| #CFD8DC | 1.25— | Same color | 1.32— | 2.31— | 5.00AA |
| #B0BEC5 | 1.65— | 1.32— | Same color | 1.76— | 3.80AA Large |
| #78909C | 2.90— | 2.31— | 1.76— | Same color | 2.16— |
| #455A64 | 6.27AA | 5.00AA | 3.80AA Large | 2.16— | Same color |
Shades
Shades and tints (50–950)
