PreviewingGo to this paletteOpen in generator
Code
/* Block Party — colorset.net */
:root {
--color-1: #EEF3F8;
--color-2: #1856D6;
--color-3: #FF8A00;
--color-4: #BFD3F2;
--color-5: #11203B;
--color-bg: #EEF3F8;
--color-surface: #F7FAFD;
--color-border: #D3DBE2;
--color-text: #11203B;
--color-muted: #616E85;
--color-primary: #1856D6;
--color-on-primary: #FFFFFF;
--color-accent: #D37100;
--color-on-accent: #11203B;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #11203B;
--color-surface: #1C2B47;
--color-border: #354257;
--color-text: #EEF3F8;
--color-muted: #8F9398;
--color-primary: #2E6DEE;
--color-on-primary: #FFFFFF;
--color-accent: #FF8A00;
--color-on-accent: #11203B;
}
}
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 | from palette · color 2 | adjusted for contrast · from #1856D6 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF8A00 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.54:1 | AAA pass 4.5:1 | |
| Text on surface | 15.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.61:1 | AA pass 4.5:1 | |
| Label on primary | 6.29:1 | AA pass 4.5:1 | |
| Label on accent | 4.74:1 | AA pass 4.5:1 | |
| Primary on background | 5.63:1 | AA pass 3:1 | |
| Accent on background | 3.07:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.54:1 | AAA pass 4.5:1 | |
| Text on surface | 12.66:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.25:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 6.87:1 | AA pass 4.5:1 | |
| Primary on background | 3.51:1 | AA Large pass 3:1 | |
| Accent on background | 6.87:1 | AA 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 | #EEF3F8 (Text 1) | #1856D6 (Text 2) | #FF8A00 (Text 3) | #BFD3F2 (Text 4) | #11203B (Text 5) |
|---|---|---|---|---|---|
| #EEF3F8 | Same color | 5.63AA | 2.12— | 1.36— | 14.54AAA |
| #1856D6 | 5.63AA | Same color | 2.66— | 4.14AA Large | 2.58— |
| #FF8A00 | 2.12— | 2.66— | Same color | 1.55— | 6.87AA |
| #BFD3F2 | 1.36— | 4.14AA Large | 1.55— | Same color | 10.68AAA |
| #11203B | 14.54AAA | 2.58— | 6.87AA | 10.68AAA | Same color |
Shades
Shades and tints (50–950)
