PreviewingGo to this paletteOpen in generator
Code
/* Abyss — colorset.net */
:root {
--color-1: #08192B;
--color-2: #37B5C8;
--color-3: #F6A96B;
--color-4: #173352;
--color-5: #E5F4F7;
--color-bg: #E5F4F7;
--color-surface: #F1FAFC;
--color-border: #C9DCE0;
--color-text: #08192B;
--color-muted: #596C81;
--color-primary: #0098AB;
--color-on-primary: #08192B;
--color-accent: #C47A3B;
--color-on-accent: #08192B;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #08192B;
--color-surface: #122437;
--color-border: #28394C;
--color-text: #E5F4F7;
--color-muted: #829093;
--color-primary: #37B5C8;
--color-on-primary: #08192B;
--color-accent: #F6A96B;
--color-on-accent: #08192B;
}
}
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 | from palette · color 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #37B5C8 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F6A96B | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.72:1 | AAA pass 4.5:1 | |
| Text on surface | 16.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.79:1 | AA pass 4.5:1 | |
| Label on primary | 5.13:1 | AA pass 4.5:1 | |
| Label on accent | 5.23:1 | AA pass 4.5:1 | |
| Primary on background | 3.06:1 | AA Large pass 3:1 | |
| Accent on background | 3.01:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.72:1 | AAA pass 4.5:1 | |
| Text on surface | 13.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.37:1 | AA pass 4.5:1 | |
| Label on primary | 7.27:1 | AAA pass 4.5:1 | |
| Label on accent | 9.12:1 | AAA pass 4.5:1 | |
| Primary on background | 7.27:1 | AAA pass 3:1 | |
| Accent on background | 9.12:1 | AAA 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 | #08192B (Text 1) | #37B5C8 (Text 2) | #F6A96B (Text 3) | #173352 (Text 4) | #E5F4F7 (Text 5) |
|---|---|---|---|---|---|
| #08192B | Same color | 7.27AAA | 9.12AAA | 1.38— | 15.72AAA |
| #37B5C8 | 7.27AAA | Same color | 1.26— | 5.27AA | 2.16— |
| #F6A96B | 9.12AAA | 1.26— | Same color | 6.62AA | 1.72— |
| #173352 | 1.38— | 5.27AA | 6.62AA | Same color | 11.41AAA |
| #E5F4F7 | 15.72AAA | 2.16— | 1.72— | 11.41AAA | Same color |
Shades
Shades and tints (50–950)
