PreviewingGo to this paletteOpen in generator
Code
/* Deep Sea Navy — colorset.net */
:root {
--color-1: #000080;
--color-2: #001A4D;
--color-3: #003366;
--color-4: #004C99;
--color-5: #0066CC;
--color-bg: #F2F7FF;
--color-surface: #E5EEFB;
--color-border: #CAD6E6;
--color-text: #031B48;
--color-muted: #5E6C83;
--color-primary: #0066CC;
--color-on-primary: #FFFFFF;
--color-accent: #000080;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #070F1F;
--color-surface: #10192A;
--color-border: #222E42;
--color-text: #91A7C5;
--color-muted: #74859B;
--color-primary: #0066CC;
--color-on-primary: #FFFFFF;
--color-accent: #43659F;
--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 #0066CC | adjusted for contrast · from #001A4D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #001A4D | adjusted for contrast · from #0066CC |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #0066CC |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.57:1 | AAA pass 4.5:1 | |
| Text on surface | 14.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 5.57:1 | AA pass 4.5:1 | |
| Label on accent | 16.01:1 | AAA pass 4.5:1 | |
| Primary on background | 5.18:1 | AA pass 3:1 | |
| Accent on background | 14.88:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 5.57:1 | AA pass 4.5:1 | |
| Label on accent | 5.83:1 | AA pass 4.5:1 | |
| Primary on background | 3.44:1 | AA Large pass 3:1 | |
| Accent on background | 3.28: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 | #000080 (Text 1) | #001A4D (Text 2) | #003366 (Text 3) | #004C99 (Text 4) | #0066CC (Text 5) |
|---|---|---|---|---|---|
| #000080 | Same color | 1.05— | 1.27— | 1.90— | 2.88— |
| #001A4D | 1.05— | Same color | 1.33— | 1.99— | 3.01AA Large |
| #003366 | 1.27— | 1.33— | Same color | 1.50— | 2.27— |
| #004C99 | 1.90— | 1.99— | 1.50— | Same color | 1.51— |
| #0066CC | 2.88— | 3.01AA Large | 2.27— | 1.51— | Same color |
Shades
Shades and tints (50–950)
