PreviewingGo to this paletteOpen in generator
Code
/* Navy Counsel — colorset.net */
:root {
--color-1: #F2F5F9;
--color-2: #183060;
--color-3: #C69E58;
--color-4: #5A7CA9;
--color-5: #060F21;
--color-bg: #F2F5F9;
--color-surface: #FAFCFF;
--color-border: #D7DCE4;
--color-text: #060F21;
--color-muted: #58657C;
--color-primary: #5A7CA9;
--color-on-primary: #000000;
--color-accent: #AC853F;
--color-on-accent: #060F21;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #060F21;
--color-surface: #0F192C;
--color-border: #232E42;
--color-text: #F2F5F9;
--color-muted: #888A8E;
--color-primary: #5A7CA9;
--color-on-primary: #000000;
--color-accent: #C69E58;
--color-on-accent: #060F21;
}
}
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 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C69E58 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.49:1 | AAA pass 4.5:1 | |
| Text on surface | 18.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.38:1 | AA pass 4.5:1 | |
| Label on primary | 4.89:1 | AA pass 4.5:1 | |
| Label on accent | 5.63:1 | AA pass 4.5:1 | |
| Primary on background | 3.93:1 | AA Large pass 3:1 | |
| Accent on background | 3.11:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.49:1 | AAA pass 4.5:1 | |
| Text on surface | 16.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.53:1 | AA pass 4.5:1 | |
| Label on primary | 4.89:1 | AA pass 4.5:1 | |
| Label on accent | 7.68:1 | AAA pass 4.5:1 | |
| Primary on background | 4.45:1 | AA Large pass 3:1 | |
| Accent on background | 7.68: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 | #F2F5F9 (Text 1) | #183060 (Text 2) | #C69E58 (Text 3) | #5A7CA9 (Text 4) | #060F21 (Text 5) |
|---|---|---|---|---|---|
| #F2F5F9 | Same color | 11.78AAA | 2.28— | 3.93AA Large | 17.49AAA |
| #183060 | 11.78AAA | Same color | 5.17AA | 3.00AA Large | 1.48— |
| #C69E58 | 2.28— | 5.17AA | Same color | 1.72— | 7.68AAA |
| #5A7CA9 | 3.93AA Large | 3.00AA Large | 1.72— | Same color | 4.45AA Large |
| #060F21 | 17.49AAA | 1.48— | 7.68AAA | 4.45AA Large | Same color |
Shades
Shades and tints (50–950)
