PreviewingGo to this paletteOpen in generator
Code
/* Rain Cloud Gray — colorset.net */
:root {
--color-1: #696969;
--color-2: #778899;
--color-3: #B0C4DE;
--color-4: #E6E6FA;
--color-5: #F8F8FF;
--color-bg: #F8F8FF;
--color-surface: #EFEFF6;
--color-border: #D6D6E0;
--color-text: #505050;
--color-muted: #6C6C6C;
--color-primary: #778899;
--color-on-primary: #000000;
--color-accent: #696969;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #F8F8FF;
--color-muted: #8C8C92;
--color-primary: #778899;
--color-on-primary: #0F0F0F;
--color-accent: #E6E6FA;
--color-on-accent: #0F0F0F;
}
}
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 #696969 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #696969 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 1 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 5.77:1 | AA pass 4.5:1 | |
| Label on accent | 5.49:1 | AA pass 4.5:1 | |
| Primary on background | 3.44:1 | AA Large pass 3:1 | |
| Accent on background | 5.19:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.13:1 | AAA pass 4.5:1 | |
| Text on surface | 16.63:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.73:1 | AA pass 4.5:1 | |
| Label on primary | 5.26:1 | AA pass 4.5:1 | |
| Label on accent | 15.58:1 | AAA pass 4.5:1 | |
| Primary on background | 5.26:1 | AA pass 3:1 | |
| Accent on background | 15.58: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 | #696969 (Text 1) | #778899 (Text 2) | #B0C4DE (Text 3) | #E6E6FA (Text 4) | #F8F8FF (Text 5) |
|---|---|---|---|---|---|
| #696969 | Same color | 1.51— | 3.08AA Large | 4.46AA Large | 5.19AA |
| #778899 | 1.51— | Same color | 2.05— | 2.96— | 3.44AA Large |
| #B0C4DE | 3.08AA Large | 2.05— | Same color | 1.45— | 1.68— |
| #E6E6FA | 4.46AA Large | 2.96— | 1.45— | Same color | 1.16— |
| #F8F8FF | 5.19AA | 3.44AA Large | 1.68— | 1.16— | Same color |
Shades
Shades and tints (50–950)
