PreviewingGo to this paletteOpen in generator
Code
/* Ultramarine Sky — colorset.net */
:root {
--color-1: #0A00B3;
--color-2: #2E1ACC;
--color-3: #5233E6;
--color-4: #764DFF;
--color-5: #9A66FF;
--color-bg: #F7F5FF;
--color-surface: #EEEBFA;
--color-border: #D6D2E4;
--color-text: #233769;
--color-muted: #5E6981;
--color-primary: #764DFF;
--color-on-primary: #FFFFFF;
--color-accent: #0A00B3;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #12192A;
--color-border: #242D42;
--color-text: #AAA2C5;
--color-muted: #86809B;
--color-primary: #764DFF;
--color-on-primary: #FFFFFF;
--color-accent: #2856F2;
--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 #9A66FF | adjusted for contrast · from #0A00B3 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0A00B3 | adjusted for contrast · from #9A66FF |
| 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 #5233E6 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.68:1 | AAA pass 4.5:1 | |
| Text on surface | 9.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 4.91:1 | AA pass 4.5:1 | |
| Label on accent | 12.62:1 | AAA pass 4.5:1 | |
| Primary on background | 4.55:1 | AA pass 3:1 | |
| Accent on background | 11.70:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.91:1 | AAA pass 4.5:1 | |
| Text on surface | 7.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.91:1 | AA pass 4.5:1 | |
| Label on accent | 5.67:1 | AA pass 4.5:1 | |
| Primary on background | 3.89:1 | AA Large pass 3:1 | |
| Accent on background | 3.37: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 | #0A00B3 (Text 1) | #2E1ACC (Text 2) | #5233E6 (Text 3) | #764DFF (Text 4) | #9A66FF (Text 5) |
|---|---|---|---|---|---|
| #0A00B3 | Same color | 1.28— | 1.79— | 2.57— | 3.44AA Large |
| #2E1ACC | 1.28— | Same color | 1.39— | 2.00— | 2.68— |
| #5233E6 | 1.79— | 1.39— | Same color | 1.44— | 1.92— |
| #764DFF | 2.57— | 2.00— | 1.44— | Same color | 1.34— |
| #9A66FF | 3.44AA Large | 2.68— | 1.92— | 1.34— | Same color |
Shades
Shades and tints (50–950)
