PreviewingGo to this paletteOpen in generator
Code
/* Blue Hour — colorset.net */
:root {
--color-1: #121B33;
--color-2: #6E9BE0;
--color-3: #F4B183;
--color-4: #2A3858;
--color-5: #EEF1F8;
--color-bg: #EEF1F8;
--color-surface: #F6F8FD;
--color-border: #D4D8E3;
--color-text: #121B33;
--color-muted: #636D85;
--color-primary: #5F8BCF;
--color-on-primary: #121B33;
--color-accent: #BB7C4F;
--color-on-accent: #121B33;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #121B33;
--color-surface: #1C263F;
--color-border: #333C52;
--color-text: #EEF1F8;
--color-muted: #8D8F96;
--color-primary: #6E9BE0;
--color-on-primary: #121B33;
--color-accent: #F4B183;
--color-on-accent: #121B33;
}
}
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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #6E9BE0 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F4B183 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.10:1 | AAA pass 4.5:1 | |
| Text on surface | 16.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.58:1 | AA pass 4.5:1 | |
| Label on primary | 4.94:1 | AA pass 4.5:1 | |
| Label on accent | 4.97:1 | AA pass 4.5:1 | |
| Primary on background | 3.05:1 | AA Large pass 3:1 | |
| Accent on background | 3.04:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.10:1 | AAA pass 4.5:1 | |
| Text on surface | 13.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.28:1 | AA pass 4.5:1 | |
| Label on primary | 6.04:1 | AA pass 4.5:1 | |
| Label on accent | 9.32:1 | AAA pass 4.5:1 | |
| Primary on background | 6.04:1 | AA pass 3:1 | |
| Accent on background | 9.32: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 | #121B33 (Text 1) | #6E9BE0 (Text 2) | #F4B183 (Text 3) | #2A3858 (Text 4) | #EEF1F8 (Text 5) |
|---|---|---|---|---|---|
| #121B33 | Same color | 6.04AA | 9.32AAA | 1.47— | 15.10AAA |
| #6E9BE0 | 6.04AA | Same color | 1.54— | 4.12AA Large | 2.50— |
| #F4B183 | 9.32AAA | 1.54— | Same color | 6.35AA | 1.62— |
| #2A3858 | 1.47— | 4.12AA Large | 6.35AA | Same color | 10.29AAA |
| #EEF1F8 | 15.10AAA | 2.50— | 1.62— | 10.29AAA | Same color |
Shades
Shades and tints (50–950)
