PreviewingGo to this paletteOpen in generator
Code
/* Slate Sky — colorset.net */
:root {
--color-1: #EDF0F3;
--color-2: #4D5D73;
--color-3: #E28A5A;
--color-4: #CCD3DC;
--color-5: #1A212B;
--color-bg: #EDF0F3;
--color-surface: #F5F7F9;
--color-border: #D2D8DE;
--color-text: #1A212B;
--color-muted: #656D79;
--color-primary: #CA7444;
--color-on-primary: #1A212B;
--color-accent: #4D5D73;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A212B;
--color-surface: #252C36;
--color-border: #384250;
--color-text: #EDF0F3;
--color-muted: #929497;
--color-primary: #E28A5A;
--color-on-primary: #1A212B;
--color-accent: #66778E;
--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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E28A5A | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #4D5D73 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.16:1 | AAA pass 4.5:1 | |
| Text on surface | 15.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.57:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 6.71:1 | AA pass 4.5:1 | |
| Primary on background | 3.01:1 | AA Large pass 3:1 | |
| Accent on background | 5.87:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.16:1 | AAA pass 4.5:1 | |
| Text on surface | 12.30:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.33:1 | AA pass 4.5:1 | |
| Label on primary | 6.18:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 6.18:1 | AA pass 3:1 | |
| Accent on background | 3.54: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 | #EDF0F3 (Text 1) | #4D5D73 (Text 2) | #E28A5A (Text 3) | #CCD3DC (Text 4) | #1A212B (Text 5) |
|---|---|---|---|---|---|
| #EDF0F3 | Same color | 5.87AA | 2.29— | 1.32— | 14.16AAA |
| #4D5D73 | 5.87AA | Same color | 2.56— | 4.45AA Large | 2.41— |
| #E28A5A | 2.29— | 2.56— | Same color | 1.74— | 6.18AA |
| #CCD3DC | 1.32— | 4.45AA Large | 1.74— | Same color | 10.74AAA |
| #1A212B | 14.16AAA | 2.41— | 6.18AA | 10.74AAA | Same color |
Shades
Shades and tints (50–950)
