PreviewingGo to this paletteOpen in generator
Code
/* Abyssal Cobalt — colorset.net */
:root {
--color-1: #000033;
--color-2: #000066;
--color-3: #000099;
--color-4: #0000CC;
--color-5: #0000FF;
--color-bg: #F3F7FF;
--color-surface: #E7EEFB;
--color-border: #CDD5E6;
--color-text: #00022F;
--color-muted: #566279;
--color-primary: #0000FF;
--color-on-primary: #FFFFFF;
--color-accent: #000066;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #242E42;
--color-text: #95A6C5;
--color-muted: #77839C;
--color-primary: #1653FF;
--color-on-primary: #FFFFFF;
--color-accent: #4A66A1;
--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 #0000FF | adjusted for contrast · from #000033 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #000033 | adjusted for contrast · from #0000FF |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #0000FF |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #0000CC |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.63:1 | AAA pass 4.5:1 | |
| Text on surface | 17.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.72:1 | AA pass 4.5:1 | |
| Label on primary | 8.59:1 | AAA pass 4.5:1 | |
| Label on accent | 17.62:1 | AAA pass 4.5:1 | |
| Primary on background | 8.00:1 | AAA pass 3:1 | |
| Accent on background | 16.41:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.65:1 | AA pass 4.5:1 | |
| Label on accent | 5.67:1 | AA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 3.37: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 | #000033 (Text 1) | #000066 (Text 2) | #000099 (Text 3) | #0000CC (Text 4) | #0000FF (Text 5) |
|---|---|---|---|---|---|
| #000033 | Same color | 1.14— | 1.39— | 1.79— | 2.33— |
| #000066 | 1.14— | Same color | 1.22— | 1.57— | 2.05— |
| #000099 | 1.39— | 1.22— | Same color | 1.28— | 1.67— |
| #0000CC | 1.79— | 1.57— | 1.28— | Same color | 1.31— |
| #0000FF | 2.33— | 2.05— | 1.67— | 1.31— | Same color |
Shades
Shades and tints (50–950)
