PreviewingGo to this paletteOpen in generator
Code
/* Navy Storm — colorset.net */
:root {
--color-1: #1B263B;
--color-2: #415A77;
--color-3: #778DA9;
--color-4: #A8BBCF;
--color-5: #0F1B2C;
--color-bg: #F2F8FE;
--color-surface: #E8EEF4;
--color-border: #CDD6DF;
--color-text: #0F1B2C;
--color-muted: #5D6C81;
--color-primary: #748AA6;
--color-on-primary: #0F1B2C;
--color-accent: #415A77;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F1B2C;
--color-surface: #192638;
--color-border: #2D3B50;
--color-text: #A8BBCF;
--color-muted: #7B8EA0;
--color-primary: #778DA9;
--color-on-primary: #0F1B2C;
--color-accent: #617085;
--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 | adjusted for contrast · from #A8BBCF | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #778DA9 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #415A77 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.18:1 | AAA pass 4.5:1 | |
| Text on surface | 14.81:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.89:1 | AA pass 4.5:1 | |
| Label on accent | 7.11:1 | AAA pass 4.5:1 | |
| Primary on background | 3.31:1 | AA Large pass 3:1 | |
| Accent on background | 6.65:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.13:1 | AA pass 4.5:1 | |
| Label on primary | 5.08:1 | AA pass 4.5:1 | |
| Label on accent | 5.04:1 | AA pass 4.5:1 | |
| Primary on background | 5.08:1 | AA pass 3:1 | |
| Accent on background | 3.43: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 | #1B263B (Text 1) | #415A77 (Text 2) | #778DA9 (Text 3) | #A8BBCF (Text 4) | #0F1B2C (Text 5) |
|---|---|---|---|---|---|
| #1B263B | Same color | 2.13— | 4.45AA Large | 7.70AAA | 1.14— |
| #415A77 | 2.13— | Same color | 2.09— | 3.61AA Large | 2.43— |
| #778DA9 | 4.45AA Large | 2.09— | Same color | 1.73— | 5.08AA |
| #A8BBCF | 7.70AAA | 3.61AA Large | 1.73— | Same color | 8.80AAA |
| #0F1B2C | 1.14— | 2.43— | 5.08AA | 8.80AAA | Same color |
Shades
Shades and tints (50–950)
