PreviewingGo to this paletteOpen in generator
Code
/* Cloud Blue — colorset.net */
:root {
--color-1: #87CEEB;
--color-2: #FFFFFF;
--color-3: #4682B4;
--color-4: #C0C0C0;
--color-5: #FFD700;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #205680;
--color-muted: #5D7386;
--color-primary: #3D79AA;
--color-on-primary: #FFFFFF;
--color-accent: #A78C00;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #03111E;
--color-surface: #0B1B29;
--color-border: #1C3041;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #3D79AA;
--color-on-primary: #FFFFFF;
--color-accent: #FFD700;
--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 2 | adjusted for contrast · from #4682B4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4682B4 | from palette · color 2 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4682B4 | adjusted for contrast · from #4682B4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C0C0C0 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 6.39:1 | AA pass 4.5:1 | |
| Primary on background | 4.65:1 | AA pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.04:1 | AAA pass 4.5:1 | |
| Text on surface | 17.46:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.89:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 13.58:1 | AAA pass 4.5:1 | |
| Primary on background | 4.09:1 | AA Large pass 3:1 | |
| Accent on background | 13.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 | #87CEEB (Text 1) | #FFFFFF (Text 2) | #4682B4 (Text 3) | #C0C0C0 (Text 4) | #FFD700 (Text 5) |
|---|---|---|---|---|---|
| #87CEEB | Same color | 1.74— | 2.36— | 1.04— | 1.24— |
| #FFFFFF | 1.74— | Same color | 4.11AA Large | 1.82— | 1.40— |
| #4682B4 | 2.36— | 4.11AA Large | Same color | 2.26— | 2.93— |
| #C0C0C0 | 1.04— | 1.82— | 2.26— | Same color | 1.30— |
| #FFD700 | 1.24— | 1.40— | 2.93— | 1.30— | Same color |
Shades
Shades and tints (50–950)
