PreviewingGo to this paletteOpen in generator
Code
/* Clean Water — colorset.net */
:root {
--color-1: #ECFAFD;
--color-2: #19A4B7;
--color-3: #E4B750;
--color-4: #1A5F6D;
--color-5: #001F26;
--color-bg: #ECFAFD;
--color-surface: #E3F1F4;
--color-border: #C7D9DD;
--color-text: #001F26;
--color-muted: #517179;
--color-primary: #0097A9;
--color-on-primary: #001F26;
--color-accent: #AD8200;
--color-on-accent: #001F26;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #001F26;
--color-surface: #0A2A31;
--color-border: #204048;
--color-text: #ECFAFD;
--color-muted: #889497;
--color-primary: #19A4B7;
--color-on-primary: #001F26;
--color-accent: #E4B750;
--color-on-accent: #001F26;
}
}
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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #19A4B7 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E4B750 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.06:1 | AAA pass 4.5:1 | |
| Text on surface | 14.83:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.90:1 | AA pass 4.5:1 | |
| Label on accent | 4.88:1 | AA pass 4.5:1 | |
| Primary on background | 3.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.06:1 | AAA pass 4.5:1 | |
| Text on surface | 14.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.50:1 | AA pass 4.5:1 | |
| Label on primary | 5.75:1 | AA pass 4.5:1 | |
| Label on accent | 9.14:1 | AAA pass 4.5:1 | |
| Primary on background | 5.75:1 | AA pass 3:1 | |
| Accent on background | 9.14: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 | #ECFAFD (Text 1) | #19A4B7 (Text 2) | #E4B750 (Text 3) | #1A5F6D (Text 4) | #001F26 (Text 5) |
|---|---|---|---|---|---|
| #ECFAFD | Same color | 2.79— | 1.76— | 6.78AA | 16.06AAA |
| #19A4B7 | 2.79— | Same color | 1.59— | 2.42— | 5.75AA |
| #E4B750 | 1.76— | 1.59— | Same color | 3.86AA Large | 9.14AAA |
| #1A5F6D | 6.78AA | 2.42— | 3.86AA Large | Same color | 2.37— |
| #001F26 | 16.06AAA | 5.75AA | 9.14AAA | 2.37— | Same color |
Shades
Shades and tints (50–950)
