PreviewingGo to this paletteOpen in generator
Code
/* Storm Cloud Slate — colorset.net */
:root {
--color-1: #1C2833;
--color-2: #2E4053;
--color-3: #4A5F7F;
--color-4: #5F748F;
--color-5: #7F8C9F;
--color-bg: #F3F7FD;
--color-surface: #E9EEF4;
--color-border: #CFD5DF;
--color-text: #1C2833;
--color-muted: #5F6D7A;
--color-primary: #5F748F;
--color-on-primary: #FFFFFF;
--color-accent: #2E4053;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C1014;
--color-surface: #161A1E;
--color-border: #282F35;
--color-text: #9AA8BB;
--color-muted: #788598;
--color-primary: #5F748F;
--color-on-primary: #FFFFFF;
--color-accent: #7F8C9F;
--color-on-accent: #0C1014;
}
}
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 #7F8C9F | adjusted for contrast · from #1C2833 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #7F8C9F |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.95:1 | AAA pass 4.5:1 | |
| Text on surface | 12.85:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 4.79:1 | AA pass 4.5:1 | |
| Label on accent | 10.64:1 | AAA pass 4.5:1 | |
| Primary on background | 4.46:1 | AA Large pass 3:1 | |
| Accent on background | 9.89:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.90:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 4.79:1 | AA pass 4.5:1 | |
| Label on accent | 5.60:1 | AA pass 4.5:1 | |
| Primary on background | 3.98:1 | AA Large pass 3:1 | |
| Accent on background | 5.60:1 | AA 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 | #1C2833 (Text 1) | #2E4053 (Text 2) | #4A5F7F (Text 3) | #5F748F (Text 4) | #7F8C9F (Text 5) |
|---|---|---|---|---|---|
| #1C2833 | Same color | 1.41— | 2.31— | 3.13AA Large | 4.39AA Large |
| #2E4053 | 1.41— | Same color | 1.64— | 2.22— | 3.12AA Large |
| #4A5F7F | 2.31— | 1.64— | Same color | 1.35— | 1.90— |
| #5F748F | 3.13AA Large | 2.22— | 1.35— | Same color | 1.40— |
| #7F8C9F | 4.39AA Large | 3.12AA Large | 1.90— | 1.40— | Same color |
Shades
Shades and tints (50–950)
