PreviewingGo to this paletteOpen in generator
Code
/* Rainy Window — colorset.net */
:root {
--color-1: #607D8B;
--color-2: #78909C;
--color-3: #90A4AE;
--color-4: #B0BEC5;
--color-5: #CFD8DC;
--color-bg: #F4F7F8;
--color-surface: #EBEEEF;
--color-border: #CFD6D9;
--color-text: #36525F;
--color-muted: #526F7D;
--color-primary: #607D8B;
--color-on-primary: #000000;
--color-accent: #818A8D;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #081115;
--color-surface: #121B1F;
--color-border: #233036;
--color-text: #CFD8DC;
--color-muted: #7C8588;
--color-primary: #607D8B;
--color-on-primary: #000000;
--color-accent: #B0BEC5;
--color-on-accent: #081115;
}
}
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 #CFD8DC | adjusted for contrast · from #607D8B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #607D8B | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #78909C | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.80:1 | AA pass 4.5:1 | |
| Label on accent | 5.95:1 | AA pass 4.5:1 | |
| Primary on background | 4.06:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.17:1 | AAA pass 4.5:1 | |
| Text on surface | 12.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.80:1 | AA pass 4.5:1 | |
| Label on accent | 10.00:1 | AAA pass 4.5:1 | |
| Primary on background | 4.36:1 | AA Large pass 3:1 | |
| Accent on background | 10.00: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 | #607D8B (Text 1) | #78909C (Text 2) | #90A4AE (Text 3) | #B0BEC5 (Text 4) | #CFD8DC (Text 5) |
|---|---|---|---|---|---|
| #607D8B | Same color | 1.30— | 1.69— | 2.29— | 3.02AA Large |
| #78909C | 1.30— | Same color | 1.29— | 1.76— | 2.31— |
| #90A4AE | 1.69— | 1.29— | Same color | 1.36— | 1.79— |
| #B0BEC5 | 2.29— | 1.76— | 1.36— | Same color | 1.32— |
| #CFD8DC | 3.02AA Large | 2.31— | 1.79— | 1.32— | Same color |
Shades
Shades and tints (50–950)
