PreviewingGo to this paletteOpen in generator
Code
/* Navy Charcoal — colorset.net */
:root {
--color-1: #1C2833;
--color-2: #283747;
--color-3: #34495E;
--color-4: #5D6D7E;
--color-5: #85929E;
--color-bg: #F3F7FB;
--color-surface: #EAEEF2;
--color-border: #CFD6DC;
--color-text: #1C2833;
--color-muted: #5F6D7A;
--color-primary: #5D6D7E;
--color-on-primary: #FFFFFF;
--color-accent: #283747;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C1014;
--color-surface: #161A1E;
--color-border: #282F35;
--color-text: #9AA8B4;
--color-muted: #788591;
--color-primary: #5D6D7E;
--color-on-primary: #FFFFFF;
--color-accent: #85929E;
--color-on-accent: #0C1014;
}
}
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 #85929E | adjusted for contrast · from #1C2833 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #85929E |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.93:1 | AAA pass 4.5:1 | |
| Text on surface | 12.86:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 5.31:1 | AA pass 4.5:1 | |
| Label on accent | 12.15:1 | AAA pass 4.5:1 | |
| Primary on background | 4.93:1 | AA pass 3:1 | |
| Accent on background | 11.29:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.85:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 5.31:1 | AA pass 4.5:1 | |
| Label on accent | 6.00:1 | AA pass 4.5:1 | |
| Primary on background | 3.60:1 | AA Large pass 3:1 | |
| Accent on background | 6.00: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 | #1C2833 (Text 1) | #283747 (Text 2) | #34495E (Text 3) | #5D6D7E (Text 4) | #85929E (Text 5) |
|---|---|---|---|---|---|
| #1C2833 | Same color | 1.23— | 1.61— | 2.82— | 4.71AA |
| #283747 | 1.23— | Same color | 1.31— | 2.29— | 3.82AA Large |
| #34495E | 1.61— | 1.31— | Same color | 1.75— | 2.92— |
| #5D6D7E | 2.82— | 2.29— | 1.75— | Same color | 1.67— |
| #85929E | 4.71AA | 3.82AA Large | 2.92— | 1.67— | Same color |
Shades
Shades and tints (50–950)
