PreviewingGo to this paletteOpen in generator
Code
/* Navy Estate — colorset.net */
:root {
--color-1: #F7F7F5;
--color-2: #0F3872;
--color-3: #D6A54D;
--color-4: #90A7C4;
--color-5: #0E1B2D;
--color-bg: #F7F7F5;
--color-surface: #EEEEEC;
--color-border: #D5D5D0;
--color-text: #0E1B2D;
--color-muted: #5C6C82;
--color-primary: #9C6E00;
--color-on-primary: #FFFFFF;
--color-accent: #0F3872;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E1B2D;
--color-surface: #182639;
--color-border: #2D3B4F;
--color-text: #F7F7F5;
--color-muted: #929290;
--color-primary: #D6A54D;
--color-on-primary: #0E1B2D;
--color-accent: #4772B1;
--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 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 | adjusted for contrast · from #D6A54D | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #90A7C4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.14:1 | AAA pass 4.5:1 | |
| Text on surface | 14.90:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 11.48:1 | AAA pass 4.5:1 | |
| Primary on background | 4.22:1 | AA Large pass 3:1 | |
| Accent on background | 10.70:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.14:1 | AAA pass 4.5:1 | |
| Text on surface | 14.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.55:1 | AA pass 4.5:1 | |
| Label on primary | 7.70:1 | AAA pass 4.5:1 | |
| Label on accent | 4.87:1 | AA pass 4.5:1 | |
| Primary on background | 7.70:1 | AAA pass 3:1 | |
| Accent on background | 3.55: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 | #F7F7F5 (Text 1) | #0F3872 (Text 2) | #D6A54D (Text 3) | #90A7C4 (Text 4) | #0E1B2D (Text 5) |
|---|---|---|---|---|---|
| #F7F7F5 | Same color | 10.70AAA | 2.09— | 2.30— | 16.14AAA |
| #0F3872 | 10.70AAA | Same color | 5.11AA | 4.65AA | 1.51— |
| #D6A54D | 2.09— | 5.11AA | Same color | 1.10— | 7.70AAA |
| #90A7C4 | 2.30— | 4.65AA | 1.10— | Same color | 7.01AAA |
| #0E1B2D | 16.14AAA | 1.51— | 7.70AAA | 7.01AAA | Same color |
Shades
Shades and tints (50–950)
