PreviewingGo to this paletteOpen in generator
Code
/* Mystic Blue — colorset.net */
:root {
--color-1: #191970;
--color-2: #2932A0;
--color-3: #394BD0;
--color-4: #4964FF;
--color-5: #597DFF;
--color-bg: #F3F7FF;
--color-surface: #E8EDFB;
--color-border: #CED5E6;
--color-text: #1D2557;
--color-muted: #636A83;
--color-primary: #4964FF;
--color-on-primary: #FFFFFF;
--color-accent: #191970;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A0E1F;
--color-surface: #14182A;
--color-border: #272C42;
--color-text: #98A5C5;
--color-muted: #79839C;
--color-primary: #4964FF;
--color-on-primary: #FFFFFF;
--color-accent: #4E5FBA;
--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 | adjusted for contrast · from #597DFF | adjusted for contrast · from #191970 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #191970 | adjusted for contrast · from #597DFF |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #394BD0 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.45:1 | AAA pass 4.5:1 | |
| Text on surface | 12.33:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 14.85:1 | AAA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 13.83:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.72:1 | AA pass 4.5:1 | |
| Primary on background | 4.15:1 | AA Large pass 3:1 | |
| Accent on background | 3.35: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 | #191970 (Text 1) | #2932A0 (Text 2) | #394BD0 (Text 3) | #4964FF (Text 4) | #597DFF (Text 5) |
|---|---|---|---|---|---|
| #191970 | Same color | 1.46— | 2.19— | 3.22AA Large | 4.10AA Large |
| #2932A0 | 1.46— | Same color | 1.50— | 2.21— | 2.82— |
| #394BD0 | 2.19— | 1.50— | Same color | 1.47— | 1.88— |
| #4964FF | 3.22AA Large | 2.21— | 1.47— | Same color | 1.28— |
| #597DFF | 4.10AA Large | 2.82— | 1.88— | 1.28— | Same color |
Shades
Shades and tints (50–950)
