PreviewingGo to this paletteOpen in generator
Code
/* Swimming Pool Blue — colorset.net */
:root {
--color-1: #0078D4;
--color-2: #106EBE;
--color-3: #2080C7;
--color-4: #3092D1;
--color-5: #40A4DA;
--color-bg: #EFF8FF;
--color-surface: #E1F0F9;
--color-border: #C6D8E3;
--color-text: #23507D;
--color-muted: #596C81;
--color-primary: #0078D4;
--color-on-primary: #FFFFFF;
--color-accent: #2891C6;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #04101E;
--color-surface: #0D1A29;
--color-border: #1E2F41;
--color-text: #88ABC1;
--color-muted: #6A8596;
--color-primary: #0078D4;
--color-on-primary: #FFFFFF;
--color-accent: #40A4DA;
--color-on-accent: #04101E;
}
}
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 #40A4DA | adjusted for contrast · from #106EBE |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #106EBE | adjusted for contrast · from #40A4DA |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #3092D1 | 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.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 5.96:1 | AA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.87:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 6.87:1 | AA pass 4.5:1 | |
| Primary on background | 4.22:1 | AA Large pass 3:1 | |
| Accent on background | 6.87: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 | #0078D4 (Text 1) | #106EBE (Text 2) | #2080C7 (Text 3) | #3092D1 (Text 4) | #40A4DA (Text 5) |
|---|---|---|---|---|---|
| #0078D4 | Same color | 1.16— | 1.07— | 1.33— | 1.63— |
| #106EBE | 1.16— | Same color | 1.24— | 1.54— | 1.89— |
| #2080C7 | 1.07— | 1.24— | Same color | 1.24— | 1.52— |
| #3092D1 | 1.33— | 1.54— | 1.24— | Same color | 1.22— |
| #40A4DA | 1.63— | 1.89— | 1.52— | 1.22— | Same color |
Shades
Shades and tints (50–950)
