PreviewingGo to this paletteOpen in generator
Code
/* Navy Deep — colorset.net */
:root {
--color-1: #191970;
--color-2: #4682B4;
--color-3: #87CEEB;
--color-4: #B0E0E6;
--color-5: #F0F8FF;
--color-bg: #F0F8FF;
--color-surface: #E7EFF6;
--color-border: #CCD6E0;
--color-text: #1D2557;
--color-muted: #636A83;
--color-primary: #3D79AA;
--color-on-primary: #FFFFFF;
--color-accent: #191970;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A0E1F;
--color-surface: #14182A;
--color-border: #272C42;
--color-text: #F0F8FF;
--color-muted: #858C93;
--color-primary: #3D79AA;
--color-on-primary: #FFFFFF;
--color-accent: #4E5FBA;
--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 | adjusted for contrast · from #191970 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #191970 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4682B4 | adjusted for contrast · from #4682B4 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #4682B4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.46:1 | AAA pass 4.5:1 | |
| Text on surface | 12.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 14.85:1 | AAA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 13.84:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.87:1 | AAA pass 4.5:1 | |
| Text on surface | 16.40:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.63:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 5.72:1 | AA pass 4.5:1 | |
| Primary on background | 4.12:1 | AA Large pass 3:1 | |
| Accent on background | 3.35: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 | #191970 (Text 1) | #4682B4 (Text 2) | #87CEEB (Text 3) | #B0E0E6 (Text 4) | #F0F8FF (Text 5) |
|---|---|---|---|---|---|
| #191970 | Same color | 3.61AA Large | 8.53AAA | 10.36AAA | 13.84AAA |
| #4682B4 | 3.61AA Large | Same color | 2.36— | 2.87— | 3.83AA Large |
| #87CEEB | 8.53AAA | 2.36— | Same color | 1.22— | 1.62— |
| #B0E0E6 | 10.36AAA | 2.87— | 1.22— | Same color | 1.34— |
| #F0F8FF | 13.84AAA | 3.83AA Large | 1.62— | 1.34— | Same color |
Shades
Shades and tints (50–950)
