PreviewingGo to this paletteOpen in generator
Code
/* Chrome Dusk — colorset.net */
:root {
--color-1: #201A3A;
--color-2: #7CC6FE;
--color-3: #F5A3C7;
--color-4: #4A3D73;
--color-5: #F7F0FA;
--color-bg: #F7F0FA;
--color-surface: #FDF8FE;
--color-border: #E0D6E3;
--color-text: #201A3A;
--color-muted: #6D6A84;
--color-primary: #4690C5;
--color-on-primary: #201A3A;
--color-accent: #4A3D73;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #201A3A;
--color-surface: #2B2546;
--color-border: #403D55;
--color-text: #F7F0FA;
--color-muted: #969099;
--color-primary: #7CC6FE;
--color-on-primary: #201A3A;
--color-accent: #747096;
--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 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 #7CC6FE | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #4A3D73 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.80:1 | AAA pass 4.5:1 | |
| Text on surface | 15.77:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.65:1 | AA pass 4.5:1 | |
| Label on primary | 4.77:1 | AA pass 4.5:1 | |
| Label on accent | 9.52:1 | AAA pass 4.5:1 | |
| Primary on background | 3.10:1 | AA Large pass 3:1 | |
| Accent on background | 8.52:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.80:1 | AAA pass 4.5:1 | |
| Text on surface | 12.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.31:1 | AA pass 4.5:1 | |
| Label on primary | 8.95:1 | AAA pass 4.5:1 | |
| Label on accent | 4.67:1 | AA pass 4.5:1 | |
| Primary on background | 8.95:1 | AAA pass 3:1 | |
| Accent on background | 3.54: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 | #201A3A (Text 1) | #7CC6FE (Text 2) | #F5A3C7 (Text 3) | #4A3D73 (Text 4) | #F7F0FA (Text 5) |
|---|---|---|---|---|---|
| #201A3A | Same color | 8.95AAA | 8.62AAA | 1.74— | 14.80AAA |
| #7CC6FE | 8.95AAA | Same color | 1.04— | 5.15AA | 1.65— |
| #F5A3C7 | 8.62AAA | 1.04— | Same color | 4.96AA | 1.72— |
| #4A3D73 | 1.74— | 5.15AA | 4.96AA | Same color | 8.52AAA |
| #F7F0FA | 14.80AAA | 1.65— | 1.72— | 8.52AAA | Same color |
Shades
Shades and tints (50–950)
