PreviewingGo to this paletteOpen in generator
Code
/* Deep Ocean — colorset.net */
:root {
--color-1: #001133;
--color-2: #002244;
--color-3: #003355;
--color-4: #004466;
--color-5: #005577;
--color-bg: #EEF9FF;
--color-surface: #E1F0F9;
--color-border: #C6D8E3;
--color-text: #001133;
--color-muted: #5B6980;
--color-primary: #005577;
--color-on-primary: #FFFFFF;
--color-accent: #002244;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #08101C;
--color-surface: #111A27;
--color-border: #232E3F;
--color-text: #87ACC1;
--color-muted: #6C8898;
--color-primary: #256C8F;
--color-on-primary: #FFFFFF;
--color-accent: #669EBE;
--color-on-accent: #08101C;
}
}
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 #005577 | adjusted for contrast · from #001133 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #005577 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #005577 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #005577 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.40:1 | AAA pass 4.5:1 | |
| Text on surface | 15.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.20:1 | AA pass 4.5:1 | |
| Label on primary | 8.18:1 | AAA pass 4.5:1 | |
| Label on accent | 16.00:1 | AAA pass 4.5:1 | |
| Primary on background | 7.65:1 | AAA pass 3:1 | |
| Accent on background | 14.96:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.90:1 | AAA pass 4.5:1 | |
| Text on surface | 7.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 5.80:1 | AA pass 4.5:1 | |
| Label on accent | 6.54:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 6.54:1 | AA 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 | #001133 (Text 1) | #002244 (Text 2) | #003355 (Text 3) | #004466 (Text 4) | #005577 (Text 5) |
|---|---|---|---|---|---|
| #001133 | Same color | 1.16— | 1.42— | 1.79— | 2.27— |
| #002244 | 1.16— | Same color | 1.22— | 1.54— | 1.96— |
| #003355 | 1.42— | 1.22— | Same color | 1.26— | 1.60— |
| #004466 | 1.79— | 1.54— | 1.26— | Same color | 1.27— |
| #005577 | 2.27— | 1.96— | 1.60— | 1.27— | Same color |
Shades
Shades and tints (50–950)
