PreviewingGo to this paletteOpen in generator
Code
/* Deep Navy — colorset.net */
:root {
--color-1: #0F1419;
--color-2: #1A2332;
--color-3: #2C3E50;
--color-4: #34495E;
--color-5: #5D6D7E;
--color-bg: #F2F7FD;
--color-surface: #E9EEF4;
--color-border: #CED6DF;
--color-text: #0F1419;
--color-muted: #636970;
--color-primary: #5D6D7E;
--color-on-primary: #FFFFFF;
--color-accent: #1A2332;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F1419;
--color-surface: #191E24;
--color-border: #2B333B;
--color-text: #9BACBF;
--color-muted: #778799;
--color-primary: #5D6D7E;
--color-on-primary: #FFFFFF;
--color-accent: #91A0AF;
--color-on-accent: #0F1419;
}
}
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 #5D6D7E | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #5D6D7E |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #5D6D7E |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.19:1 | AAA pass 4.5:1 | |
| Text on surface | 15.87:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.15:1 | AA pass 4.5:1 | |
| Label on primary | 5.31:1 | AA pass 4.5:1 | |
| Label on accent | 15.78:1 | AAA pass 4.5:1 | |
| Primary on background | 4.93:1 | AA pass 3:1 | |
| Accent on background | 14.66:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.98:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 5.31:1 | AA pass 4.5:1 | |
| Label on accent | 6.92:1 | AA pass 4.5:1 | |
| Primary on background | 3.49:1 | AA Large pass 3:1 | |
| Accent on background | 6.92:1 | AA 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 | #0F1419 (Text 1) | #1A2332 (Text 2) | #2C3E50 (Text 3) | #34495E (Text 4) | #5D6D7E (Text 5) |
|---|---|---|---|---|---|
| #0F1419 | Same color | 1.17— | 1.69— | 1.99— | 3.49AA Large |
| #1A2332 | 1.17— | Same color | 1.44— | 1.70— | 2.97— |
| #2C3E50 | 1.69— | 1.44— | Same color | 1.18— | 2.07— |
| #34495E | 1.99— | 1.70— | 1.18— | Same color | 1.75— |
| #5D6D7E | 3.49AA Large | 2.97— | 2.07— | 1.75— | Same color |
Shades
Shades and tints (50–950)
