PreviewingGo to this paletteOpen in generator
Code
/* Balanced Scale — colorset.net */
:root {
--color-1: #F9F8F4;
--color-2: #2B4C7E;
--color-3: #C97C5D;
--color-4: #E2DCCF;
--color-5: #1C2230;
--color-bg: #F9F8F4;
--color-surface: #F0EFEB;
--color-border: #D8D6CF;
--color-text: #1C2230;
--color-muted: #646B7C;
--color-primary: #C27657;
--color-on-primary: #1C2230;
--color-accent: #2B4C7E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C2230;
--color-surface: #272D3C;
--color-border: #3B4355;
--color-text: #F9F8F4;
--color-muted: #979693;
--color-primary: #C97C5D;
--color-on-primary: #1C2230;
--color-accent: #5477AD;
--color-on-accent: #FFFFFF;
}
}
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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C97C5D | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #2B4C7E |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.96:1 | AAA pass 4.5:1 | |
| Text on surface | 13.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 8.61:1 | AAA pass 4.5:1 | |
| Primary on background | 3.28:1 | AA Large pass 3:1 | |
| Accent on background | 8.11:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.96:1 | AAA pass 4.5:1 | |
| Text on surface | 12.94:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.38:1 | AA pass 4.5:1 | |
| Label on primary | 4.94:1 | AA pass 4.5:1 | |
| Label on accent | 4.55:1 | AA pass 4.5:1 | |
| Primary on background | 4.94:1 | AA pass 3:1 | |
| Accent on background | 3.50:1 | AA Large 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 | #F9F8F4 (Text 1) | #2B4C7E (Text 2) | #C97C5D (Text 3) | #E2DCCF (Text 4) | #1C2230 (Text 5) |
|---|---|---|---|---|---|
| #F9F8F4 | Same color | 8.11AAA | 3.03AA Large | 1.29— | 14.96AAA |
| #2B4C7E | 8.11AAA | Same color | 2.68— | 6.31AA | 1.85— |
| #C97C5D | 3.03AA Large | 2.68— | Same color | 2.36— | 4.94AA |
| #E2DCCF | 1.29— | 6.31AA | 2.36— | Same color | 11.64AAA |
| #1C2230 | 14.96AAA | 1.85— | 4.94AA | 11.64AAA | Same color |
Shades
Shades and tints (50–950)
