PreviewingGo to this paletteOpen in generator
Code
/* Slate Blue — colorset.net */
:root {
--color-1: #68717A;
--color-2: #708090;
--color-3: #778899;
--color-4: #B0C4DE;
--color-5: #E6E6FA;
--color-bg: #E6E6FA;
--color-surface: #EEEEFA;
--color-border: #CDCDE4;
--color-text: #414A52;
--color-muted: #606972;
--color-primary: #708090;
--color-on-primary: #000000;
--color-accent: #434F5C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D1012;
--color-surface: #171A1D;
--color-border: #292E34;
--color-text: #E6E6FA;
--color-muted: #828294;
--color-primary: #708090;
--color-on-primary: #0D1012;
--color-accent: #B0C4DE;
--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 | from palette · color 5 | adjusted for contrast · from #68717A |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #68717A | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #68717A | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.34:1 | AAA pass 4.5:1 | |
| Text on surface | 7.84:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.54: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.29:1 | AA Large pass 3:1 | |
| Accent on background | 6.79:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.51:1 | AAA pass 4.5:1 | |
| Text on surface | 14.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.71:1 | AA pass 4.5:1 | |
| Label on accent | 10.72:1 | AAA pass 4.5:1 | |
| Primary on background | 4.71:1 | AA pass 3:1 | |
| Accent on background | 10.72: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 | #68717A (Text 1) | #708090 (Text 2) | #778899 (Text 3) | #B0C4DE (Text 4) | #E6E6FA (Text 5) |
|---|---|---|---|---|---|
| #68717A | Same color | 1.22— | 1.36— | 2.79— | 4.03AA Large |
| #708090 | 1.22— | Same color | 1.11— | 2.28— | 3.29AA Large |
| #778899 | 1.36— | 1.11— | Same color | 2.05— | 2.96— |
| #B0C4DE | 2.79— | 2.28— | 2.05— | Same color | 1.45— |
| #E6E6FA | 4.03AA Large | 3.29AA Large | 2.96— | 1.45— | Same color |
Shades
Shades and tints (50–950)
