PreviewingGo to this paletteOpen in generator
Code
/* Deep Ocean Current — colorset.net */
:root {
--color-1: #1565C0;
--color-2: #0D47A1;
--color-3: #01579B;
--color-4: #0277BD;
--color-5: #0288D1;
--color-bg: #F0F8FF;
--color-surface: #E3EFFA;
--color-border: #C8D7E4;
--color-text: #2F4D7E;
--color-muted: #5D6B82;
--color-primary: #1565C0;
--color-on-primary: #FFFFFF;
--color-accent: #0D47A1;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #060F1E;
--color-surface: #101A2A;
--color-border: #222E42;
--color-text: #8BAAC3;
--color-muted: #6F879A;
--color-primary: #1565C0;
--color-on-primary: #FFFFFF;
--color-accent: #007CBF;
--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 #0288D1 | adjusted for contrast · from #0D47A1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #01579B | adjusted for contrast · from #0288D1 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #0277BD |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.88:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 5.75:1 | AA pass 4.5:1 | |
| Label on accent | 8.63:1 | AAA pass 4.5:1 | |
| Primary on background | 5.36:1 | AA pass 3:1 | |
| Accent on background | 8.05:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.12:1 | AA pass 4.5:1 | |
| Label on primary | 5.75:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 3.34:1 | AA Large pass 3:1 | |
| Accent on background | 4.23: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 | #1565C0 (Text 1) | #0D47A1 (Text 2) | #01579B (Text 3) | #0277BD (Text 4) | #0288D1 (Text 5) |
|---|---|---|---|---|---|
| #1565C0 | Same color | 1.50— | 1.29— | 1.20— | 1.49— |
| #0D47A1 | 1.50— | Same color | 1.17— | 1.80— | 2.24— |
| #01579B | 1.29— | 1.17— | Same color | 1.54— | 1.92— |
| #0277BD | 1.20— | 1.80— | 1.54— | Same color | 1.24— |
| #0288D1 | 1.49— | 2.24— | 1.92— | 1.24— | Same color |
Shades
Shades and tints (50–950)
