PreviewingGo to this paletteOpen in generator
Code
/* Navy Bright — colorset.net */
:root {
--color-1: #191970;
--color-2: #4682B4;
--color-3: #FFFFFF;
--color-4: #FFD700;
--color-5: #32CD32;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #1D2557;
--color-muted: #697089;
--color-primary: #00A40B;
--color-on-primary: #000000;
--color-accent: #191970;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A0E1F;
--color-surface: #14182A;
--color-border: #272C42;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #32CD32;
--color-on-primary: #0A0E1F;
--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 3 | adjusted for contrast · from #191970 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #191970 | from palette · color 3 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #32CD32 | from palette · color 5 |
| 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 | 14.44:1 | AAA pass 4.5:1 | |
| Text on surface | 13.36:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 6.32:1 | AA pass 4.5:1 | |
| Label on accent | 14.85:1 | AAA pass 4.5:1 | |
| Primary on background | 3.33:1 | AA Large pass 3:1 | |
| Accent on background | 14.85:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.17:1 | AAA pass 4.5:1 | |
| Text on surface | 17.59:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.93:1 | AA pass 4.5:1 | |
| Label on primary | 9.05:1 | AAA pass 4.5:1 | |
| Label on accent | 5.72:1 | AA pass 4.5:1 | |
| Primary on background | 9.05:1 | AAA 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) | #FFFFFF (Text 3) | #FFD700 (Text 4) | #32CD32 (Text 5) |
|---|---|---|---|---|---|
| #191970 | Same color | 3.61AA Large | 14.85AAA | 10.59AAA | 7.01AAA |
| #4682B4 | 3.61AA Large | Same color | 4.11AA Large | 2.93— | 1.94— |
| #FFFFFF | 14.85AAA | 4.11AA Large | Same color | 1.40— | 2.12— |
| #FFD700 | 10.59AAA | 2.93— | 1.40— | Same color | 1.51— |
| #32CD32 | 7.01AAA | 1.94— | 2.12— | 1.51— | Same color |
Shades
Shades and tints (50–950)
