PreviewingGo to this paletteOpen in generator
Code
/* Glacier — colorset.net */
:root {
--color-1: #EEF6F9;
--color-2: #2D8FB0;
--color-3: #8C7AC2;
--color-4: #C8E2EC;
--color-5: #12283A;
--color-bg: #EEF6F9;
--color-surface: #F8FDFE;
--color-border: #D2DEE3;
--color-text: #12283A;
--color-muted: #5C7285;
--color-primary: #7D6BB2;
--color-on-primary: #FFFFFF;
--color-accent: #1680A0;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #091017;
--color-surface: #131A21;
--color-border: #242F39;
--color-text: #EEF6F9;
--color-muted: #848B8E;
--color-primary: #7D6BB2;
--color-on-primary: #FFFFFF;
--color-accent: #51697D;
--color-on-accent: #FFFFFF;
}
}
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 #12283A |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8C7AC2 | adjusted for contrast · from #8C7AC2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2D8FB0 | adjusted for contrast · from #2D8FB0 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.80:1 | AAA pass 4.5:1 | |
| Text on surface | 14.72:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.57:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 4.54:1 | AA pass 4.5:1 | |
| Primary on background | 4.15:1 | AA Large pass 3:1 | |
| Accent on background | 4.14:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.47:1 | AAA pass 4.5:1 | |
| Text on surface | 16.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.52:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 5.73:1 | AA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 3.34:1 | AA Large 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 | #EEF6F9 (Text 1) | #2D8FB0 (Text 2) | #8C7AC2 (Text 3) | #C8E2EC (Text 4) | #12283A (Text 5) |
|---|---|---|---|---|---|
| #EEF6F9 | Same color | 3.39AA Large | 3.38AA Large | 1.23— | 13.80AAA |
| #2D8FB0 | 3.39AA Large | Same color | 1.00— | 2.74— | 4.08AA Large |
| #8C7AC2 | 3.38AA Large | 1.00— | Same color | 2.74— | 4.08AA Large |
| #C8E2EC | 1.23— | 2.74— | 2.74— | Same color | 11.18AAA |
| #12283A | 13.80AAA | 4.08AA Large | 4.08AA Large | 11.18AAA | Same color |
Shades
Shades and tints (50–950)
