PreviewingGo to this paletteOpen in generator
Code
/* Rain Blue — colorset.net */
:root {
--color-1: #4682B4;
--color-2: #5F9EA0;
--color-3: #87CEEB;
--color-4: #B0C4DE;
--color-5: #E6F3FF;
--color-bg: #E6F3FF;
--color-surface: #F3F9FF;
--color-border: #CBDBE9;
--color-text: #1D537D;
--color-muted: #596F82;
--color-primary: #3D79AA;
--color-on-primary: #FFFFFF;
--color-accent: #569597;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #03111E;
--color-surface: #0B1B29;
--color-border: #1C3041;
--color-text: #E6F3FF;
--color-muted: #7E8A95;
--color-primary: #3D79AA;
--color-on-primary: #FFFFFF;
--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 | from palette · color 5 | adjusted for contrast · from #4682B4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4682B4 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4682B4 | adjusted for contrast · from #4682B4 |
| 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.20:1 | AAA pass 4.5:1 | |
| Text on surface | 7.66:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.63:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 6.14:1 | AA pass 4.5:1 | |
| Primary on background | 4.13:1 | AA Large pass 3:1 | |
| Accent on background | 3.03:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.89:1 | AAA pass 4.5:1 | |
| Text on surface | 15.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.40:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 6.24:1 | AA pass 4.5:1 | |
| Primary on background | 4.09:1 | AA Large 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) | #87CEEB (Text 3) | #B0C4DE (Text 4) | #E6F3FF (Text 5) |
|---|---|---|---|---|---|
| #4682B4 | Same color | 1.35— | 2.36— | 2.31— | 3.64AA Large |
| #5F9EA0 | 1.35— | Same color | 1.75— | 1.71— | 2.71— |
| #87CEEB | 2.36— | 1.75— | Same color | 1.02— | 1.54— |
| #B0C4DE | 2.31— | 1.71— | 1.02— | Same color | 1.58— |
| #E6F3FF | 3.64AA Large | 2.71— | 1.54— | 1.58— | Same color |
Shades
Shades and tints (50–950)
