PreviewingGo to this paletteOpen in generator
Code
/* Navy Marine — colorset.net */
:root {
--color-1: #003E5C;
--color-2: #005273;
--color-3: #00688B;
--color-4: #007BA7;
--color-5: #4682B4;
--color-bg: #F0F8FF;
--color-surface: #E3EFFA;
--color-border: #C8D7E5;
--color-text: #003E5C;
--color-muted: #536D7E;
--color-primary: #007BA7;
--color-on-primary: #FFFFFF;
--color-accent: #005273;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #03111B;
--color-surface: #0B1B26;
--color-border: #1C303E;
--color-text: #8BA8C2;
--color-muted: #6F859A;
--color-primary: #007BA7;
--color-on-primary: #FFFFFF;
--color-accent: #61AED6;
--color-on-accent: #03111B;
}
}
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 #4682B4 | adjusted for contrast · from #003E5C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #4682B4 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #4682B4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.62:1 | AAA pass 4.5:1 | |
| Text on surface | 9.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.78:1 | AA pass 4.5:1 | |
| Label on accent | 8.56:1 | AAA pass 4.5:1 | |
| Primary on background | 4.46:1 | AA Large pass 3:1 | |
| Accent on background | 7.98:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.78:1 | AA pass 4.5:1 | |
| Label on accent | 7.76:1 | AAA pass 4.5:1 | |
| Primary on background | 3.99:1 | AA Large pass 3:1 | |
| Accent on background | 7.76:1 | AAA 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 | #003E5C (Text 1) | #005273 (Text 2) | #00688B (Text 3) | #007BA7 (Text 4) | #4682B4 (Text 5) |
|---|---|---|---|---|---|
| #003E5C | Same color | 1.33— | 1.82— | 2.38— | 2.77— |
| #005273 | 1.33— | Same color | 1.37— | 1.79— | 2.08— |
| #00688B | 1.82— | 1.37— | Same color | 1.31— | 1.52— |
| #007BA7 | 2.38— | 1.79— | 1.31— | Same color | 1.16— |
| #4682B4 | 2.77— | 2.08— | 1.52— | 1.16— | Same color |
Shades
Shades and tints (50–950)
