PreviewingGo to this paletteOpen in generator
Code
/* Swimming Pool — colorset.net */
:root {
--color-1: #E0F6FF;
--color-2: #B3E0FF;
--color-3: #80CCFF;
--color-4: #4DB8FF;
--color-5: #1AA3FF;
--color-bg: #E0F6FF;
--color-surface: #F1FBFF;
--color-border: #C4DEE9;
--color-text: #1F547F;
--color-muted: #5A7083;
--color-primary: #0090E5;
--color-on-primary: #000000;
--color-accent: #798D95;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #03111E;
--color-surface: #0B1B29;
--color-border: #1C3041;
--color-text: #E0F6FF;
--color-muted: #788C94;
--color-primary: #1AA3FF;
--color-on-primary: #03111E;
--color-accent: #B3E0FF;
--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 1 | adjusted for contrast · from #1AA3FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #1AA3FF | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #1AA3FF | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #1AA3FF | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.14:1 | AAA pass 4.5:1 | |
| Text on surface | 7.59:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.61:1 | AA pass 4.5:1 | |
| Label on primary | 6.12:1 | AA pass 4.5:1 | |
| Label on accent | 6.06:1 | AA pass 4.5:1 | |
| Primary on background | 3.07:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.04:1 | AAA pass 4.5:1 | |
| Text on surface | 15.62:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.42:1 | AA pass 4.5:1 | |
| Label on primary | 7.01:1 | AAA pass 4.5:1 | |
| Label on accent | 13.62:1 | AAA pass 4.5:1 | |
| Primary on background | 7.01:1 | AAA pass 3:1 | |
| Accent on background | 13.62: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 | #E0F6FF (Text 1) | #B3E0FF (Text 2) | #80CCFF (Text 3) | #4DB8FF (Text 4) | #1AA3FF (Text 5) |
|---|---|---|---|---|---|
| #E0F6FF | Same color | 1.25— | 1.57— | 1.95— | 2.43— |
| #B3E0FF | 1.25— | Same color | 1.25— | 1.56— | 1.94— |
| #80CCFF | 1.57— | 1.25— | Same color | 1.25— | 1.55— |
| #4DB8FF | 1.95— | 1.56— | 1.25— | Same color | 1.24— |
| #1AA3FF | 2.43— | 1.94— | 1.55— | 1.24— | Same color |
Shades
Shades and tints (50–950)
