PreviewingGo to this paletteOpen in generator
Code
/* Mountain White — colorset.net */
:root {
--color-1: #FFFFFF;
--color-2: #F0F8FF;
--color-3: #E6E6FA;
--color-4: #4682B4;
--color-5: #2F4F4F;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #2F4F4F;
--color-muted: #567777;
--color-primary: #3D79AA;
--color-on-primary: #FFFFFF;
--color-accent: #8C8C8C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071111;
--color-surface: #111C1C;
--color-border: #223131;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #3D79AA;
--color-on-primary: #FFFFFF;
--color-accent: #E6E6FA;
--color-on-accent: #071111;
}
}
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 #2F4F4F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | 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 | 8.93:1 | AAA pass 4.5:1 | |
| Text on surface | 8.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.88:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 6.25:1 | AA pass 4.5:1 | |
| Primary on background | 4.65:1 | AA pass 3:1 | |
| Accent on background | 3.36:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.14:1 | AAA pass 4.5:1 | |
| Text on surface | 17.40:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 15.55:1 | AAA pass 4.5:1 | |
| Primary on background | 4.11:1 | AA Large pass 3:1 | |
| Accent on background | 15.55: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 | #FFFFFF (Text 1) | #F0F8FF (Text 2) | #E6E6FA (Text 3) | #4682B4 (Text 4) | #2F4F4F (Text 5) |
|---|---|---|---|---|---|
| #FFFFFF | Same color | 1.07— | 1.23— | 4.11AA Large | 8.93AAA |
| #F0F8FF | 1.07— | Same color | 1.15— | 3.83AA Large | 8.32AAA |
| #E6E6FA | 1.23— | 1.15— | Same color | 3.34AA Large | 7.25AAA |
| #4682B4 | 4.11AA Large | 3.83AA Large | 3.34AA Large | Same color | 2.17— |
| #2F4F4F | 8.93AAA | 8.32AAA | 7.25AAA | 2.17— | Same color |
Shades
Shades and tints (50–950)
