PreviewingGo to this paletteOpen in generator
Code
/* Slate Quarry — colorset.net */
:root {
--color-1: #2F4F4F;
--color-2: #36454F;
--color-3: #696969;
--color-4: #708090;
--color-5: #778899;
--color-bg: #F2F7FD;
--color-surface: #E9EEF4;
--color-border: #CED6DE;
--color-text: #36454F;
--color-muted: #5C6C76;
--color-primary: #708090;
--color-on-primary: #000000;
--color-accent: #696969;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1013;
--color-surface: #151A1E;
--color-border: #272F35;
--color-text: #95A7B8;
--color-muted: #748596;
--color-primary: #708090;
--color-on-primary: #0B1013;
--color-accent: #596974;
--color-on-accent: #FFFFFF;
}
}
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 #778899 | adjusted for contrast · from #36454F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 2 | adjusted for contrast · from #778899 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #696969 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.19:1 | AAA pass 4.5:1 | |
| Text on surface | 8.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.18:1 | AA pass 4.5:1 | |
| Label on accent | 5.49:1 | AA pass 4.5:1 | |
| Primary on background | 3.76:1 | AA Large pass 3:1 | |
| Accent on background | 5.10:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.72:1 | AA pass 4.5:1 | |
| Label on accent | 5.68:1 | AA pass 4.5:1 | |
| Primary on background | 4.72:1 | AA pass 3:1 | |
| Accent on background | 3.37:1 | AA Large 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 | #2F4F4F (Text 1) | #36454F (Text 2) | #696969 (Text 3) | #708090 (Text 4) | #778899 (Text 5) |
|---|---|---|---|---|---|
| #2F4F4F | Same color | 1.11— | 1.63— | 2.20— | 2.45— |
| #36454F | 1.11— | Same color | 1.80— | 2.44— | 2.72— |
| #696969 | 1.63— | 1.80— | Same color | 1.35— | 1.51— |
| #708090 | 2.20— | 2.44— | 1.35— | Same color | 1.11— |
| #778899 | 2.45— | 2.72— | 1.51— | 1.11— | Same color |
Shades
Shades and tints (50–950)
