PreviewingGo to this paletteOpen in generator
Code
/* Electric Sky — colorset.net */
:root {
--color-1: #0080FF;
--color-2: #1A8FFF;
--color-3: #339FFF;
--color-4: #4DAFFF;
--color-5: #66BFFF;
--color-bg: #F0F8FF;
--color-surface: #E2F0FA;
--color-border: #C7D7E4;
--color-text: #2B4F7F;
--color-muted: #5C6C82;
--color-primary: #0072E4;
--color-on-primary: #FFFFFF;
--color-accent: #338FCD;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #05101E;
--color-surface: #0E1A29;
--color-border: #202F42;
--color-text: #9BBAD4;
--color-muted: #6F879A;
--color-primary: #0072E4;
--color-on-primary: #FFFFFF;
--color-accent: #66BFFF;
--color-on-accent: #05101E;
}
}
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 #66BFFF | adjusted for contrast · from #0080FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0080FF | adjusted for contrast · from #66BFFF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #0080FF | adjusted for contrast · from #0080FF |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #1A8FFF | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.95:1 | AA pass 4.5:1 | |
| Primary on background | 4.32:1 | AA Large pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.43:1 | AAA pass 4.5:1 | |
| Text on surface | 8.65:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 9.52:1 | AAA pass 4.5:1 | |
| Primary on background | 4.12:1 | AA Large pass 3:1 | |
| Accent on background | 9.52: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 | #0080FF (Text 1) | #1A8FFF (Text 2) | #339FFF (Text 3) | #4DAFFF (Text 4) | #66BFFF (Text 5) |
|---|---|---|---|---|---|
| #0080FF | Same color | 1.16— | 1.36— | 1.61— | 1.89— |
| #1A8FFF | 1.16— | Same color | 1.18— | 1.39— | 1.63— |
| #339FFF | 1.36— | 1.18— | Same color | 1.18— | 1.39— |
| #4DAFFF | 1.61— | 1.39— | 1.18— | Same color | 1.18— |
| #66BFFF | 1.89— | 1.63— | 1.39— | 1.18— | Same color |
Shades
Shades and tints (50–950)
