PreviewingGo to this paletteOpen in generator
Code
/* Abyss Blue — colorset.net */
:root {
--color-1: #001122;
--color-2: #003366;
--color-3: #004C99;
--color-4: #0066CC;
--color-5: #3399FF;
--color-bg: #F1F8FF;
--color-surface: #E4EFFB;
--color-border: #CAD6E5;
--color-text: #001122;
--color-muted: #53697C;
--color-primary: #0066CC;
--color-on-primary: #FFFFFF;
--color-accent: #003366;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #001122;
--color-surface: #061C2D;
--color-border: #1D3041;
--color-text: #90A9C5;
--color-muted: #73869C;
--color-primary: #0066CC;
--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 #3399FF | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #3399FF |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #004C99 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.78:1 | AAA pass 4.5:1 | |
| Text on surface | 16.35:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.33:1 | AA pass 4.5:1 | |
| Label on primary | 5.57:1 | AA pass 4.5:1 | |
| Label on accent | 12.61:1 | AAA pass 4.5:1 | |
| Primary on background | 5.20:1 | AA pass 3:1 | |
| Accent on background | 11.78:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 5.57:1 | AA pass 4.5:1 | |
| Label on accent | 5.63:1 | AA pass 4.5:1 | |
| Primary on background | 3.42: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) | #003366 (Text 2) | #004C99 (Text 3) | #0066CC (Text 4) | #3399FF (Text 5) |
|---|---|---|---|---|---|
| #001122 | Same color | 1.51— | 2.26— | 3.42AA Large | 6.47AA |
| #003366 | 1.51— | Same color | 1.50— | 2.27— | 4.29AA Large |
| #004C99 | 2.26— | 1.50— | Same color | 1.51— | 2.86— |
| #0066CC | 3.42AA Large | 2.27— | 1.51— | Same color | 1.89— |
| #3399FF | 6.47AA | 4.29AA Large | 2.86— | 1.89— | Same color |
Shades
Shades and tints (50–950)
