PreviewingGo to this paletteOpen in generator
Code
/* Midnight Abyss Blue — colorset.net */
:root {
--color-1: #00001A;
--color-2: #000033;
--color-3: #00004D;
--color-4: #000066;
--color-5: #001A80;
--color-bg: #F3F7FF;
--color-surface: #E7EEFB;
--color-border: #CDD5E6;
--color-text: #00001A;
--color-muted: #4E5A71;
--color-primary: #001A80;
--color-on-primary: #FFFFFF;
--color-accent: #000033;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #00001A;
--color-surface: #010625;
--color-border: #131C2F;
--color-text: #8B9BBB;
--color-muted: #6F7B93;
--color-primary: #2C57BE;
--color-on-primary: #FFFFFF;
--color-accent: #495D84;
--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 #001A80 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #001A80 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #001A80 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #001A80 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.27:1 | AAA pass 4.5:1 | |
| Text on surface | 17.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 6.47:1 | AA pass 4.5:1 | |
| Label on primary | 14.39:1 | AAA pass 4.5:1 | |
| Label on accent | 20.04:1 | AAA pass 4.5:1 | |
| Primary on background | 13.40:1 | AAA pass 3:1 | |
| Accent on background | 18.67:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.39:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.86:1 | AA pass 4.5:1 | |
| Label on primary | 6.53:1 | AA pass 4.5:1 | |
| Label on accent | 6.60:1 | AA pass 4.5:1 | |
| Primary on background | 3.17:1 | AA Large pass 3:1 | |
| Accent on background | 3.14: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 | #00001A (Text 1) | #000033 (Text 2) | #00004D (Text 3) | #000066 (Text 4) | #001A80 (Text 5) |
|---|---|---|---|---|---|
| #00001A | Same color | 1.03— | 1.09— | 1.17— | 1.44— |
| #000033 | 1.03— | Same color | 1.06— | 1.14— | 1.39— |
| #00004D | 1.09— | 1.06— | Same color | 1.08— | 1.32— |
| #000066 | 1.17— | 1.14— | 1.08— | Same color | 1.22— |
| #001A80 | 1.44— | 1.39— | 1.32— | 1.22— | Same color |
Shades
Shades and tints (50–950)
