PreviewingGo to this paletteOpen in generator
Code
/* Winter Window — colorset.net */
:root {
--color-1: #FFFAFA;
--color-2: #F0F8FF;
--color-3: #E6E6FA;
--color-4: #B0C4DE;
--color-5: #4682B4;
--color-bg: #FFFAFA;
--color-surface: #F6F1F1;
--color-border: #E0D7D7;
--color-text: #1D537D;
--color-muted: #5A7083;
--color-primary: #3D79AA;
--color-on-primary: #FFFFFF;
--color-accent: #8F8A8B;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #03111E;
--color-surface: #0B1B29;
--color-border: #1C3041;
--color-text: #FFFAFA;
--color-muted: #918C8C;
--color-primary: #3D79AA;
--color-on-primary: #FFFFFF;
--color-accent: #E6E6FA;
--color-on-accent: #03111E;
}
}
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 #4682B4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4682B4 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4682B4 | adjusted for contrast · from #4682B4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4682B4 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.85:1 | AAA pass 4.5:1 | |
| Text on surface | 7.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 6.18:1 | AA pass 4.5:1 | |
| Primary on background | 4.50:1 | AA pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.41:1 | AAA pass 4.5:1 | |
| Text on surface | 16.88:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.74:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 15.47:1 | AAA pass 4.5:1 | |
| Primary on background | 4.09:1 | AA Large pass 3:1 | |
| Accent on background | 15.47: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 | #FFFAFA (Text 1) | #F0F8FF (Text 2) | #E6E6FA (Text 3) | #B0C4DE (Text 4) | #4682B4 (Text 5) |
|---|---|---|---|---|---|
| #FFFAFA | Same color | 1.04— | 1.19— | 1.72— | 3.97AA Large |
| #F0F8FF | 1.04— | Same color | 1.15— | 1.66— | 3.83AA Large |
| #E6E6FA | 1.19— | 1.15— | Same color | 1.45— | 3.34AA Large |
| #B0C4DE | 1.72— | 1.66— | 1.45— | Same color | 2.31— |
| #4682B4 | 3.97AA Large | 3.83AA Large | 3.34AA Large | 2.31— | Same color |
Shades
Shades and tints (50–950)
