PreviewingGo to this paletteOpen in generator
Code
/* Glacial Meltwater — colorset.net */
:root {
--color-1: #F0F9FF;
--color-2: #E0F2FE;
--color-3: #BAE6FD;
--color-4: #38BDF8;
--color-5: #0EA5E9;
--color-bg: #F0F9FF;
--color-surface: #E7F0F6;
--color-border: #CBD8E0;
--color-text: #085479;
--color-muted: #556F7F;
--color-primary: #0092CF;
--color-on-primary: #000000;
--color-accent: #828A8F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #01111D;
--color-surface: #081C28;
--color-border: #19313F;
--color-text: #F0F9FF;
--color-muted: #858D92;
--color-primary: #0EA5E9;
--color-on-primary: #01111D;
--color-accent: #BAE6FD;
--color-on-accent: #01111D;
}
}
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 #0EA5E9 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0EA5E9 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #0EA5E9 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #0EA5E9 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 6.01:1 | AA pass 4.5:1 | |
| Label on accent | 5.98: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 | 17.92:1 | AAA pass 4.5:1 | |
| Text on surface | 16.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.66:1 | AA pass 4.5:1 | |
| Label on primary | 6.89:1 | AA pass 4.5:1 | |
| Label on accent | 14.40:1 | AAA pass 4.5:1 | |
| Primary on background | 6.89:1 | AA pass 3:1 | |
| Accent on background | 14.40: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 | #F0F9FF (Text 1) | #E0F2FE (Text 2) | #BAE6FD (Text 3) | #38BDF8 (Text 4) | #0EA5E9 (Text 5) |
|---|---|---|---|---|---|
| #F0F9FF | Same color | 1.08— | 1.24— | 2.01— | 2.60— |
| #E0F2FE | 1.08— | Same color | 1.16— | 1.87— | 2.42— |
| #BAE6FD | 1.24— | 1.16— | Same color | 1.61— | 2.09— |
| #38BDF8 | 2.01— | 1.87— | 1.61— | Same color | 1.29— |
| #0EA5E9 | 2.60— | 2.42— | 2.09— | 1.29— | Same color |
Shades
Shades and tints (50–950)
