PreviewingGo to this paletteOpen in generator
Code
/* Ultramarine Deep — colorset.net */
:root {
--color-1: #0A0080;
--color-2: #1414B8;
--color-3: #2828E0;
--color-4: #5050FF;
--color-5: #7878FF;
--color-bg: #F5F6FF;
--color-surface: #EAECFB;
--color-border: #D1D4E6;
--color-text: #142353;
--color-muted: #616B83;
--color-primary: #5050FF;
--color-on-primary: #FFFFFF;
--color-accent: #0A0080;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #090F1F;
--color-surface: #12192A;
--color-border: #252D42;
--color-text: #9EA2C5;
--color-muted: #7E819B;
--color-primary: #5050FF;
--color-on-primary: #FFFFFF;
--color-accent: #3B5ED3;
--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 #7878FF | adjusted for contrast · from #0A0080 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0A0080 | adjusted for contrast · from #7878FF |
| 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 #5050FF |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.98:1 | AAA pass 4.5:1 | |
| Text on surface | 12.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 5.34:1 | AA pass 4.5:1 | |
| Label on accent | 15.85:1 | AAA pass 4.5:1 | |
| Primary on background | 4.96:1 | AA pass 3:1 | |
| Accent on background | 14.73:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.66:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 5.34:1 | AA pass 4.5:1 | |
| Label on accent | 5.63:1 | AA pass 4.5:1 | |
| Primary on background | 3.58:1 | AA Large pass 3:1 | |
| Accent on background | 3.39: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 | #0A0080 (Text 1) | #1414B8 (Text 2) | #2828E0 (Text 3) | #5050FF (Text 4) | #7878FF (Text 5) |
|---|---|---|---|---|---|
| #0A0080 | Same color | 1.38— | 1.86— | 2.97— | 4.48AA Large |
| #1414B8 | 1.38— | Same color | 1.36— | 2.16— | 3.25AA Large |
| #2828E0 | 1.86— | 1.36— | Same color | 1.59— | 2.40— |
| #5050FF | 2.97— | 2.16— | 1.59— | Same color | 1.51— |
| #7878FF | 4.48AA Large | 3.25AA Large | 2.40— | 1.51— | Same color |
Shades
Shades and tints (50–950)
