PreviewingGo to this paletteOpen in generator
Code
/* Electric Blue — colorset.net */
:root {
--color-1: #0080FF;
--color-2: #40A0FF;
--color-3: #80C0FF;
--color-4: #B3D9FF;
--color-5: #E6F2FF;
--color-bg: #E6F2FF;
--color-surface: #F3F9FF;
--color-border: #CBDAE9;
--color-text: #2B4F7F;
--color-muted: #5F6F86;
--color-primary: #0072E4;
--color-on-primary: #FFFFFF;
--color-accent: #818C98;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #05101E;
--color-surface: #0E1A29;
--color-border: #202F42;
--color-text: #E6F2FF;
--color-muted: #7E8995;
--color-primary: #0072E4;
--color-on-primary: #FFFFFF;
--color-accent: #B3D9FF;
--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 | from palette · color 5 | adjusted for contrast · from #0080FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0080FF | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #0080FF | adjusted for contrast · from #0080FF |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #40A0FF | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.32:1 | AAA pass 4.5:1 | |
| Text on surface | 7.84:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.51:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 6.14:1 | AA pass 4.5:1 | |
| Primary on background | 4.09:1 | AA Large pass 3:1 | |
| Accent on background | 3.02:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.84:1 | AAA pass 4.5:1 | |
| Text on surface | 15.44:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.37:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 13.00:1 | AAA pass 4.5:1 | |
| Primary on background | 4.12:1 | AA Large pass 3:1 | |
| Accent on background | 13.00: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) | #40A0FF (Text 2) | #80C0FF (Text 3) | #B3D9FF (Text 4) | #E6F2FF (Text 5) |
|---|---|---|---|---|---|
| #0080FF | Same color | 1.39— | 1.97— | 2.58— | 3.35AA Large |
| #40A0FF | 1.39— | Same color | 1.42— | 1.86— | 2.41— |
| #80C0FF | 1.97— | 1.42— | Same color | 1.31— | 1.70— |
| #B3D9FF | 2.58— | 1.86— | 1.31— | Same color | 1.30— |
| #E6F2FF | 3.35AA Large | 2.41— | 1.70— | 1.30— | Same color |
Shades
Shades and tints (50–950)
