PreviewingGo to this paletteOpen in generator
Code
/* Blue Dusk — colorset.net */
:root {
--color-1: #2F3349;
--color-2: #3F4359;
--color-3: #4F5369;
--color-4: #5F6379;
--color-5: #6F7389;
--color-bg: #F5F6FE;
--color-surface: #EBEDF5;
--color-border: #D2D4DF;
--color-text: #2F3349;
--color-muted: #656A83;
--color-primary: #6F7389;
--color-on-primary: #FFFFFF;
--color-accent: #3F4359;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D0F16;
--color-surface: #171921;
--color-border: #2B2D38;
--color-text: #9FA3BB;
--color-muted: #7D8198;
--color-primary: #6F7389;
--color-on-primary: #FFFFFF;
--color-accent: #A3A6BA;
--color-on-accent: #0D0F16;
}
}
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 | adjusted for contrast · from #6F7389 | adjusted for contrast · from #2F3349 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #6F7389 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #6F7389 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.53:1 | AAA pass 4.5:1 | |
| Text on surface | 10.63:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 9.73:1 | AAA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 9.03:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.68:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 7.95:1 | AAA pass 4.5:1 | |
| Primary on background | 4.09:1 | AA Large pass 3:1 | |
| Accent on background | 7.95: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 | #2F3349 (Text 1) | #3F4359 (Text 2) | #4F5369 (Text 3) | #5F6379 (Text 4) | #6F7389 (Text 5) |
|---|---|---|---|---|---|
| #2F3349 | Same color | 1.28— | 1.64— | 2.10— | 2.66— |
| #3F4359 | 1.28— | Same color | 1.29— | 1.64— | 2.08— |
| #4F5369 | 1.64— | 1.29— | Same color | 1.28— | 1.62— |
| #5F6379 | 2.10— | 1.64— | 1.28— | Same color | 1.27— |
| #6F7389 | 2.66— | 2.08— | 1.62— | 1.27— | Same color |
Shades
Shades and tints (50–950)
