PreviewingGo to this paletteOpen in generator
Code
/* Abyssal Navy — colorset.net */
:root {
--color-1: #001122;
--color-2: #003344;
--color-3: #004466;
--color-4: #005588;
--color-5: #0066AA;
--color-bg: #F0F8FF;
--color-surface: #E3EFFB;
--color-border: #C8D7E5;
--color-text: #001122;
--color-muted: #53697C;
--color-primary: #0066AA;
--color-on-primary: #FFFFFF;
--color-accent: #003344;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #001122;
--color-surface: #061C2D;
--color-border: #1D3041;
--color-text: #8FABC6;
--color-muted: #72879C;
--color-primary: #0E6CB0;
--color-on-primary: #FFFFFF;
--color-accent: #526A7F;
--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 #0066AA | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #0066AA |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #0066AA |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #0066AA |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.74:1 | AAA pass 4.5:1 | |
| Text on surface | 16.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.32:1 | AA pass 4.5:1 | |
| Label on primary | 6.03:1 | AA pass 4.5:1 | |
| Label on accent | 13.49:1 | AAA pass 4.5:1 | |
| Primary on background | 5.62:1 | AA pass 3:1 | |
| Accent on background | 12.57:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.98:1 | AAA pass 4.5:1 | |
| Text on surface | 7.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.13:1 | AA pass 4.5:1 | |
| Label on primary | 5.54:1 | AA pass 4.5:1 | |
| Label on accent | 5.63:1 | AA pass 4.5:1 | |
| Primary on background | 3.44:1 | AA Large pass 3:1 | |
| Accent on background | 3.38: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 | #001122 (Text 1) | #003344 (Text 2) | #004466 (Text 3) | #005588 (Text 4) | #0066AA (Text 5) |
|---|---|---|---|---|---|
| #001122 | Same color | 1.41— | 1.83— | 2.41— | 3.16AA Large |
| #003344 | 1.41— | Same color | 1.30— | 1.71— | 2.24— |
| #004466 | 1.83— | 1.30— | Same color | 1.32— | 1.72— |
| #005588 | 2.41— | 1.71— | 1.32— | Same color | 1.31— |
| #0066AA | 3.16AA Large | 2.24— | 1.72— | 1.31— | Same color |
Shades
Shades and tints (50–950)
