PreviewingGo to this paletteOpen in generator
Code
/* Rain Cloud Blue — colorset.net */
:root {
--color-1: #4682B4;
--color-2: #5F9EA0;
--color-3: #6495ED;
--color-4: #87CEEB;
--color-5: #B0C4DE;
--color-bg: #ECF9FF;
--color-surface: #E0F1F8;
--color-border: #C4D9E2;
--color-text: #1D537D;
--color-muted: #586E81;
--color-primary: #5888DF;
--color-on-primary: #000000;
--color-accent: #539294;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #03111E;
--color-surface: #0B1B29;
--color-border: #1C3041;
--color-text: #A1CADB;
--color-muted: #688794;
--color-primary: #6495ED;
--color-on-primary: #03111E;
--color-accent: #5F9EA0;
--color-on-accent: #03111E;
}
}
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 #B0C4DE | adjusted for contrast · from #4682B4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4682B4 | adjusted for contrast · from #B0C4DE |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #6495ED | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #5F9EA0 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.57:1 | AAA pass 4.5:1 | |
| Text on surface | 7.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 6.00:1 | AA pass 4.5:1 | |
| Label on accent | 5.91:1 | AA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 3.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.87:1 | AAA pass 4.5:1 | |
| Text on surface | 9.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 6.41:1 | AA pass 4.5:1 | |
| Label on accent | 6.24:1 | AA pass 4.5:1 | |
| Primary on background | 6.41:1 | AA pass 3:1 | |
| Accent on background | 6.24: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 | #4682B4 (Text 1) | #5F9EA0 (Text 2) | #6495ED (Text 3) | #87CEEB (Text 4) | #B0C4DE (Text 5) |
|---|---|---|---|---|---|
| #4682B4 | Same color | 1.35— | 1.38— | 2.36— | 2.31— |
| #5F9EA0 | 1.35— | Same color | 1.03— | 1.75— | 1.71— |
| #6495ED | 1.38— | 1.03— | Same color | 1.71— | 1.67— |
| #87CEEB | 2.36— | 1.75— | 1.71— | Same color | 1.02— |
| #B0C4DE | 2.31— | 1.71— | 1.67— | 1.02— | Same color |
Shades
Shades and tints (50–950)
