PreviewingGo to this paletteOpen in generator
Code
/* Winter Breath — colorset.net */
:root {
--color-1: #F0F8FF;
--color-2: #E6F3FF;
--color-3: #DCEEFF;
--color-4: #D2E9FF;
--color-5: #C8E4FF;
--color-bg: #F0F8FF;
--color-surface: #E7EFF6;
--color-border: #CCD6E0;
--color-text: #374F65;
--color-muted: #576C80;
--color-primary: #728BA4;
--color-on-primary: #000000;
--color-accent: #45596D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #091017;
--color-surface: #121A22;
--color-border: #242F39;
--color-text: #F0F8FF;
--color-muted: #858C93;
--color-primary: #C8E4FF;
--color-on-primary: #091017;
--color-accent: #96ADC3;
--color-on-accent: #091017;
}
}
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 #C8E4FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #C8E4FF | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C8E4FF | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C8E4FF | adjusted for contrast · from #C8E4FF |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.93:1 | AAA pass 4.5:1 | |
| Text on surface | 7.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 5.94:1 | AA pass 4.5:1 | |
| Label on accent | 7.23:1 | AAA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 6.74:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.83:1 | AAA pass 4.5:1 | |
| Text on surface | 16.36:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.62:1 | AA pass 4.5:1 | |
| Label on primary | 14.57:1 | AAA pass 4.5:1 | |
| Label on accent | 8.25:1 | AAA pass 4.5:1 | |
| Primary on background | 14.57:1 | AAA pass 3:1 | |
| Accent on background | 8.25: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) | #E6F3FF (Text 2) | #DCEEFF (Text 3) | #D2E9FF (Text 4) | #C8E4FF (Text 5) |
|---|---|---|---|---|---|
| #F0F8FF | Same color | 1.05— | 1.10— | 1.16— | 1.22— |
| #E6F3FF | 1.05— | Same color | 1.05— | 1.11— | 1.16— |
| #DCEEFF | 1.10— | 1.05— | Same color | 1.05— | 1.11— |
| #D2E9FF | 1.16— | 1.11— | 1.05— | Same color | 1.05— |
| #C8E4FF | 1.22— | 1.16— | 1.11— | 1.05— | Same color |
Shades
Shades and tints (50–950)
