PreviewingGo to this paletteOpen in generator
Code
/* Snow Day — colorset.net */
:root {
--color-1: #F6F9FB;
--color-2: #E5F0F7;
--color-3: #CEE6F2;
--color-4: #A7DAEF;
--color-5: #335B83;
--color-bg: #F6F9FB;
--color-surface: #EDF0F2;
--color-border: #D1D8DC;
--color-text: #285077;
--color-muted: #596D81;
--color-primary: #335B83;
--color-on-primary: #FFFFFF;
--color-accent: #878A8B;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #05101D;
--color-surface: #0E1A28;
--color-border: #1F2F40;
--color-text: #F6F9FB;
--color-muted: #8A8C8E;
--color-primary: #416992;
--color-on-primary: #FFFFFF;
--color-accent: #CEE6F2;
--color-on-accent: #05101D;
}
}
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 #335B83 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #335B83 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #335B83 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #335B83 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.93:1 | AAA pass 4.5:1 | |
| Text on surface | 7.33:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 7.08:1 | AAA pass 4.5:1 | |
| Label on accent | 6.04:1 | AA pass 4.5:1 | |
| Primary on background | 6.70:1 | AA pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.08:1 | AAA pass 4.5:1 | |
| Text on surface | 16.59:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.67:1 | AA pass 4.5:1 | |
| Label on primary | 5.74:1 | AA pass 4.5:1 | |
| Label on accent | 14.77:1 | AAA pass 4.5:1 | |
| Primary on background | 3.33:1 | AA Large pass 3:1 | |
| Accent on background | 14.77: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 | #F6F9FB (Text 1) | #E5F0F7 (Text 2) | #CEE6F2 (Text 3) | #A7DAEF (Text 4) | #335B83 (Text 5) |
|---|---|---|---|---|---|
| #F6F9FB | Same color | 1.09— | 1.22— | 1.43— | 6.70AA |
| #E5F0F7 | 1.09— | Same color | 1.12— | 1.30— | 6.12AA |
| #CEE6F2 | 1.22— | 1.12— | Same color | 1.17— | 5.47AA |
| #A7DAEF | 1.43— | 1.30— | 1.17— | Same color | 4.69AA |
| #335B83 | 6.70AA | 6.12AA | 5.47AA | 4.69AA | Same color |
Shades
Shades and tints (50–950)
