PreviewingGo to this paletteOpen in generator
Code
/* Navy Azure — colorset.net */
:root {
--color-1: #000080;
--color-2: #003366;
--color-3: #004C99;
--color-4: #0066CC;
--color-5: #3399FF;
--color-bg: #F1F8FF;
--color-surface: #E4EFFB;
--color-border: #CAD6E5;
--color-text: #0F2352;
--color-muted: #5F6B83;
--color-primary: #0066CC;
--color-on-primary: #FFFFFF;
--color-accent: #000080;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #242E42;
--color-text: #90A9C5;
--color-muted: #708399;
--color-primary: #0066CC;
--color-on-primary: #FFFFFF;
--color-accent: #3A69A0;
--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 #3399FF | adjusted for contrast · from #003366 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #003366 | adjusted for contrast · from #3399FF |
| 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 #0066CC |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.18:1 | AAA pass 4.5:1 | |
| Text on surface | 13.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.57:1 | AA pass 4.5:1 | |
| Label on accent | 16.01:1 | AAA pass 4.5:1 | |
| Primary on background | 5.20:1 | AA pass 3:1 | |
| Accent on background | 14.95:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 5.57:1 | AA pass 4.5:1 | |
| Label on accent | 5.66:1 | AA pass 4.5:1 | |
| Primary on background | 3.43:1 | AA Large pass 3:1 | |
| Accent on background | 3.38: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 | #000080 (Text 1) | #003366 (Text 2) | #004C99 (Text 3) | #0066CC (Text 4) | #3399FF (Text 5) |
|---|---|---|---|---|---|
| #000080 | Same color | 1.27— | 1.90— | 2.88— | 5.44AA |
| #003366 | 1.27— | Same color | 1.50— | 2.27— | 4.29AA Large |
| #004C99 | 1.90— | 1.50— | Same color | 1.51— | 2.86— |
| #0066CC | 2.88— | 2.27— | 1.51— | Same color | 1.89— |
| #3399FF | 5.44AA | 4.29AA Large | 2.86— | 1.89— | Same color |
Shades
Shades and tints (50–950)
