PreviewingGo to this paletteOpen in generator
Code
/* Ice Rink — colorset.net */
:root {
--color-1: #F0FFFF;
--color-2: #E8F8FF;
--color-3: #E0F1FF;
--color-4: #D8EAFF;
--color-5: #D0E3FF;
--color-bg: #F0FFFF;
--color-surface: #E7F6F6;
--color-border: #CBDEDE;
--color-text: #415168;
--color-muted: #5F6E85;
--color-primary: #7C8EA7;
--color-on-primary: #000000;
--color-accent: #4E5C70;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1017;
--color-surface: #141A22;
--color-border: #272E39;
--color-text: #F0FFFF;
--color-muted: #839191;
--color-primary: #D0E3FF;
--color-on-primary: #0B1017;
--color-accent: #9DACC3;
--color-on-accent: #0B1017;
}
}
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 #D0E3FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D0E3FF | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D0E3FF | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D0E3FF | adjusted for contrast · from #D0E3FF |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 6.28:1 | AA pass 4.5:1 | |
| Label on accent | 6.80:1 | AA pass 4.5:1 | |
| Primary on background | 3.25:1 | AA Large pass 3:1 | |
| Accent on background | 6.62:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.58:1 | AAA pass 4.5:1 | |
| Text on surface | 17.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.84:1 | AA pass 4.5:1 | |
| Label on primary | 14.64:1 | AAA pass 4.5:1 | |
| Label on accent | 8.29:1 | AAA pass 4.5:1 | |
| Primary on background | 14.64:1 | AAA pass 3:1 | |
| Accent on background | 8.29: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 | #F0FFFF (Text 1) | #E8F8FF (Text 2) | #E0F1FF (Text 3) | #D8EAFF (Text 4) | #D0E3FF (Text 5) |
|---|---|---|---|---|---|
| #F0FFFF | Same color | 1.06— | 1.12— | 1.19— | 1.27— |
| #E8F8FF | 1.06— | Same color | 1.06— | 1.13— | 1.20— |
| #E0F1FF | 1.12— | 1.06— | Same color | 1.06— | 1.13— |
| #D8EAFF | 1.19— | 1.13— | 1.06— | Same color | 1.06— |
| #D0E3FF | 1.27— | 1.20— | 1.13— | 1.06— | Same color |
Shades
Shades and tints (50–950)
