PreviewingGo to this paletteOpen in generator
Code
/* Navy Shoal Blue — colorset.net */
:root {
--color-1: #000080;
--color-2: #4169E1;
--color-3: #6495ED;
--color-4: #87CEEB;
--color-5: #B0E0E6;
--color-bg: #ECFAFC;
--color-surface: #E3F1F2;
--color-border: #C7D9DB;
--color-text: #0F2352;
--color-muted: #5F6B83;
--color-primary: #4169E1;
--color-on-primary: #FFFFFF;
--color-accent: #639196;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #242E42;
--color-text: #B0E0E6;
--color-muted: #64878C;
--color-primary: #4169E1;
--color-on-primary: #FFFFFF;
--color-accent: #87CEEB;
--color-on-accent: #080F1F;
}
}
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 #B0E0E6 | adjusted for contrast · from #000080 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #000080 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6495ED | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.21:1 | AAA pass 4.5:1 | |
| Text on surface | 13.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 6.02:1 | AA pass 4.5:1 | |
| Primary on background | 4.53:1 | AA pass 3:1 | |
| Accent on background | 3.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.34:1 | AAA pass 4.5:1 | |
| Text on surface | 12.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 10.98:1 | AAA pass 4.5:1 | |
| Primary on background | 3.94:1 | AA Large pass 3:1 | |
| Accent on background | 10.98: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 | #000080 (Text 1) | #4169E1 (Text 2) | #6495ED (Text 3) | #87CEEB (Text 4) | #B0E0E6 (Text 5) |
|---|---|---|---|---|---|
| #000080 | Same color | 3.30AA Large | 5.39AA | 9.19AAA | 11.17AAA |
| #4169E1 | 3.30AA Large | Same color | 1.63— | 2.78— | 3.38AA Large |
| #6495ED | 5.39AA | 1.63— | Same color | 1.71— | 2.07— |
| #87CEEB | 9.19AAA | 2.78— | 1.71— | Same color | 1.22— |
| #B0E0E6 | 11.17AAA | 3.38AA Large | 2.07— | 1.22— | Same color |
Shades
Shades and tints (50–950)
