PreviewingGo to this paletteOpen in generator
Code
/* Slate Pebble — colorset.net */
:root {
--color-1: #455A64;
--color-2: #607D8B;
--color-3: #78909C;
--color-4: #90A4AE;
--color-5: #B0BEC5;
--color-bg: #F3F8FA;
--color-surface: #EAEEF0;
--color-border: #CED6DA;
--color-text: #3D525C;
--color-muted: #596E79;
--color-primary: #607D8B;
--color-on-primary: #000000;
--color-accent: #354C57;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1114;
--color-surface: #141B1E;
--color-border: #253035;
--color-text: #B0BEC5;
--color-muted: #79868C;
--color-primary: #607D8B;
--color-on-primary: #000000;
--color-accent: #90A4AE;
--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 | adjusted for contrast · from #B0BEC5 | adjusted for contrast · from #455A64 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #455A64 | 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 #455A64 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.66:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.80:1 | AA pass 4.5:1 | |
| Label on accent | 9.04:1 | AAA pass 4.5:1 | |
| Primary on background | 4.08:1 | AA Large pass 3:1 | |
| Accent on background | 8.45:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.99:1 | AAA pass 4.5:1 | |
| Text on surface | 9.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.80:1 | AA pass 4.5:1 | |
| Label on accent | 7.35:1 | AAA pass 4.5:1 | |
| Primary on background | 4.35:1 | AA Large pass 3:1 | |
| Accent on background | 7.35: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 | #455A64 (Text 1) | #607D8B (Text 2) | #78909C (Text 3) | #90A4AE (Text 4) | #B0BEC5 (Text 5) |
|---|---|---|---|---|---|
| #455A64 | Same color | 1.66— | 2.16— | 2.80— | 3.80AA Large |
| #607D8B | 1.66— | Same color | 1.30— | 1.69— | 2.29— |
| #78909C | 2.16— | 1.30— | Same color | 1.29— | 1.76— |
| #90A4AE | 2.80— | 1.69— | 1.29— | Same color | 1.36— |
| #B0BEC5 | 3.80AA Large | 2.29— | 1.76— | 1.36— | Same color |
Shades
Shades and tints (50–950)
