PreviewingGo to this paletteOpen in generator
Code
/* Polar Frost — colorset.net */
:root {
--color-1: #F0F8FF;
--color-2: #F5FFFA;
--color-3: #FFFFFF;
--color-4: #E0FFFF;
--color-5: #B0E0E6;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #2C595F;
--color-muted: #54767B;
--color-primary: #66949A;
--color-on-primary: #000000;
--color-accent: #3C6165;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #051214;
--color-surface: #0E1C1E;
--color-border: #1E3234;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #B0E0E6;
--color-on-primary: #051214;
--color-accent: #81A8AD;
--color-on-accent: #051214;
}
}
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 3 | adjusted for contrast · from #B0E0E6 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B0E0E6 | from palette · color 3 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B0E0E6 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B0E0E6 | adjusted for contrast · from #B0E0E6 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 6.27:1 | AA pass 4.5:1 | |
| Label on accent | 6.80:1 | AA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 6.80:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.04:1 | AAA pass 4.5:1 | |
| Text on surface | 17.45:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.89:1 | AA pass 4.5:1 | |
| Label on primary | 13.28:1 | AAA pass 4.5:1 | |
| Label on accent | 7.38:1 | AAA pass 4.5:1 | |
| Primary on background | 13.28:1 | AAA pass 3:1 | |
| Accent on background | 7.38: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 | #F0F8FF (Text 1) | #F5FFFA (Text 2) | #FFFFFF (Text 3) | #E0FFFF (Text 4) | #B0E0E6 (Text 5) |
|---|---|---|---|---|---|
| #F0F8FF | Same color | 1.05— | 1.07— | 1.02— | 1.34— |
| #F5FFFA | 1.05— | Same color | 1.02— | 1.03— | 1.40— |
| #FFFFFF | 1.07— | 1.02— | Same color | 1.05— | 1.43— |
| #E0FFFF | 1.02— | 1.03— | 1.05— | Same color | 1.36— |
| #B0E0E6 | 1.34— | 1.40— | 1.43— | 1.36— | Same color |
Shades
Shades and tints (50–950)
