PreviewingGo to this paletteOpen in generator
Code
/* Cornflower Sky — colorset.net */
:root {
--color-1: #E0FFFF;
--color-2: #AFEEEE;
--color-3: #87CEEB;
--color-4: #87CEFA;
--color-5: #6495ED;
--color-bg: #E0FFFF;
--color-surface: #D7F6F6;
--color-border: #BBDEDE;
--color-text: #345082;
--color-muted: #606D84;
--color-primary: #5888DF;
--color-on-primary: #000000;
--color-accent: #589495;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #070F1F;
--color-surface: #10192A;
--color-border: #222E42;
--color-text: #E0FFFF;
--color-muted: #769292;
--color-primary: #6495ED;
--color-on-primary: #070F1F;
--color-accent: #AFEEEE;
--color-on-accent: #070F1F;
}
}
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 1 | adjusted for contrast · from #6495ED |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #6495ED | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #6495ED | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6495ED | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.61:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 6.00:1 | AA pass 4.5:1 | |
| Label on accent | 6.08:1 | AA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.15:1 | AAA pass 4.5:1 | |
| Text on surface | 16.67:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.74:1 | AA pass 4.5:1 | |
| Label on primary | 6.44:1 | AA pass 4.5:1 | |
| Label on accent | 14.85:1 | AAA pass 4.5:1 | |
| Primary on background | 6.44:1 | AA pass 3:1 | |
| Accent on background | 14.85: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 | #E0FFFF (Text 1) | #AFEEEE (Text 2) | #87CEEB (Text 3) | #87CEFA (Text 4) | #6495ED (Text 5) |
|---|---|---|---|---|---|
| #E0FFFF | Same color | 1.22— | 1.65— | 1.63— | 2.82— |
| #AFEEEE | 1.22— | Same color | 1.35— | 1.33— | 2.31— |
| #87CEEB | 1.65— | 1.35— | Same color | 1.01— | 1.71— |
| #87CEFA | 1.63— | 1.33— | 1.01— | Same color | 1.73— |
| #6495ED | 2.82— | 2.31— | 1.71— | 1.73— | Same color |
Shades
Shades and tints (50–950)
