PreviewingGo to this paletteOpen in generator
Code
/* Starless Navy — colorset.net */
:root {
--color-1: #0A0A26;
--color-2: #14143D;
--color-3: #1E1E54;
--color-4: #28286B;
--color-5: #333382;
--color-bg: #F5F6FF;
--color-surface: #EAEDFB;
--color-border: #D1D4E6;
--color-text: #0A0A26;
--color-muted: #5F637C;
--color-primary: #333382;
--color-on-primary: #FFFFFF;
--color-accent: #14143D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A0A26;
--color-surface: #131532;
--color-border: #282B41;
--color-text: #9DA2C5;
--color-muted: #7C819B;
--color-primary: #565CAF;
--color-on-primary: #FFFFFF;
--color-accent: #5D6285;
--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 #333382 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #333382 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #333382 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #333382 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.99:1 | AAA pass 4.5:1 | |
| Text on surface | 16.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.48:1 | AA pass 4.5:1 | |
| Label on primary | 10.84:1 | AAA pass 4.5:1 | |
| Label on accent | 17.54:1 | AAA pass 4.5:1 | |
| Primary on background | 10.07:1 | AAA pass 3:1 | |
| Accent on background | 16.30:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.75:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.92:1 | AA pass 4.5:1 | |
| Label on accent | 5.91:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.28: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 | #0A0A26 (Text 1) | #14143D (Text 2) | #1E1E54 (Text 3) | #28286B (Text 4) | #333382 (Text 5) |
|---|---|---|---|---|---|
| #0A0A26 | Same color | 1.10— | 1.26— | 1.48— | 1.79— |
| #14143D | 1.10— | Same color | 1.14— | 1.34— | 1.62— |
| #1E1E54 | 1.26— | 1.14— | Same color | 1.17— | 1.41— |
| #28286B | 1.48— | 1.34— | 1.17— | Same color | 1.21— |
| #333382 | 1.79— | 1.62— | 1.41— | 1.21— | Same color |
Shades
Shades and tints (50–950)
