PreviewingGo to this paletteOpen in generator
Code
/* Northern Navy — colorset.net */
:root {
--color-1: #101A2E;
--color-2: #E35D6A;
--color-3: #9CC9E0;
--color-4: #25324D;
--color-5: #EEF2F8;
--color-bg: #EEF2F8;
--color-surface: #F7F9FD;
--color-border: #D3D9E3;
--color-text: #101A2E;
--color-muted: #606C84;
--color-primary: #E35D6A;
--color-on-primary: #101A2E;
--color-accent: #25324D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #101A2E;
--color-surface: #1A253A;
--color-border: #2F3A50;
--color-text: #EEF2F8;
--color-muted: #8B8F94;
--color-primary: #E35D6A;
--color-on-primary: #101A2E;
--color-accent: #626F88;
--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 | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #E35D6A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.46:1 | AAA pass 4.5:1 | |
| Text on surface | 16.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.70:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 12.79:1 | AAA pass 4.5:1 | |
| Primary on background | 3.09:1 | AA Large pass 3:1 | |
| Accent on background | 11.38:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.46:1 | AAA pass 4.5:1 | |
| Text on surface | 13.65:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.34:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 5.06:1 | AA pass 4.5:1 | |
| Primary on background | 4.99:1 | AA pass 3:1 | |
| Accent on background | 3.43: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 | #101A2E (Text 1) | #E35D6A (Text 2) | #9CC9E0 (Text 3) | #25324D (Text 4) | #EEF2F8 (Text 5) |
|---|---|---|---|---|---|
| #101A2E | Same color | 4.99AA | 9.80AAA | 1.36— | 15.46AAA |
| #E35D6A | 4.99AA | Same color | 1.96— | 3.68AA Large | 3.09AA Large |
| #9CC9E0 | 9.80AAA | 1.96— | Same color | 7.21AAA | 1.58— |
| #25324D | 1.36— | 3.68AA Large | 7.21AAA | Same color | 11.38AAA |
| #EEF2F8 | 15.46AAA | 3.09AA Large | 1.58— | 11.38AAA | Same color |
Shades
Shades and tints (50–950)
