PreviewingGo to this paletteOpen in generator
Code
/* Gallery White — colorset.net */
:root {
--color-1: #FAF8F5;
--color-2: #F1EEE7;
--color-3: #E6E1D6;
--color-4: #C1D7EE;
--color-5: #395F8F;
--color-bg: #FAF8F5;
--color-surface: #F1EFEC;
--color-border: #DAD6D0;
--color-text: #2B5180;
--color-muted: #5D6D83;
--color-primary: #395F8F;
--color-on-primary: #FFFFFF;
--color-accent: #8B8986;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #05101E;
--color-surface: #0E1A29;
--color-border: #202F42;
--color-text: #FAF8F5;
--color-muted: #8D8C89;
--color-primary: #416898;
--color-on-primary: #FFFFFF;
--color-accent: #E6E1D6;
--color-on-accent: #05101E;
}
}
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 #395F8F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #395F8F | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #395F8F |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #395F8F | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.64:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 6.55:1 | AA pass 4.5:1 | |
| Label on accent | 6.02:1 | AA pass 4.5:1 | |
| Primary on background | 6.18:1 | AA pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.02:1 | AAA pass 4.5:1 | |
| Text on surface | 16.53:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.68:1 | AA pass 4.5:1 | |
| Label on primary | 5.74:1 | AA pass 4.5:1 | |
| Label on accent | 14.65:1 | AAA pass 4.5:1 | |
| Primary on background | 3.33:1 | AA Large pass 3:1 | |
| Accent on background | 14.65: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 | #FAF8F5 (Text 1) | #F1EEE7 (Text 2) | #E6E1D6 (Text 3) | #C1D7EE (Text 4) | #395F8F (Text 5) |
|---|---|---|---|---|---|
| #FAF8F5 | Same color | 1.09— | 1.23— | 1.39— | 6.18AA |
| #F1EEE7 | 1.09— | Same color | 1.13— | 1.27— | 5.65AA |
| #E6E1D6 | 1.23— | 1.13— | Same color | 1.13— | 5.02AA |
| #C1D7EE | 1.39— | 1.27— | 1.13— | Same color | 4.43AA Large |
| #395F8F | 6.18AA | 5.65AA | 5.02AA | 4.43AA Large | Same color |
Shades
Shades and tints (50–950)
