PreviewingGo to this paletteOpen in generator
Code
/* Deep Harbor — colorset.net */
:root {
--color-1: #0B1E26;
--color-2: #2EC4B6;
--color-3: #FF9F1C;
--color-4: #1F3B47;
--color-5: #E8F1F2;
--color-bg: #E8F1F2;
--color-surface: #F2F7F8;
--color-border: #CCD9DB;
--color-text: #0B1E26;
--color-muted: #5A6F79;
--color-primary: #C67800;
--color-on-primary: #0B1E26;
--color-accent: #00847A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1E26;
--color-surface: #162931;
--color-border: #283F49;
--color-text: #E8F1F2;
--color-muted: #879091;
--color-primary: #FF9F1C;
--color-on-primary: #0B1E26;
--color-accent: #2EC4B6;
--color-on-accent: #0B1E26;
}
}
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 #FF9F1C | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2EC4B6 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.90:1 | AAA pass 4.5:1 | |
| Text on surface | 15.83:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.59:1 | AA pass 4.5:1 | |
| Label on primary | 4.96:1 | AA pass 4.5:1 | |
| Label on accent | 4.58:1 | AA pass 4.5:1 | |
| Primary on background | 3.01:1 | AA Large pass 3:1 | |
| Accent on background | 3.99:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.90:1 | AAA pass 4.5:1 | |
| Text on surface | 13.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.24:1 | AA pass 4.5:1 | |
| Label on primary | 8.33:1 | AAA pass 4.5:1 | |
| Label on accent | 7.89:1 | AAA pass 4.5:1 | |
| Primary on background | 8.33:1 | AAA pass 3:1 | |
| Accent on background | 7.89: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 | #0B1E26 (Text 1) | #2EC4B6 (Text 2) | #FF9F1C (Text 3) | #1F3B47 (Text 4) | #E8F1F2 (Text 5) |
|---|---|---|---|---|---|
| #0B1E26 | Same color | 7.89AAA | 8.33AAA | 1.45— | 14.90AAA |
| #2EC4B6 | 7.89AAA | Same color | 1.06— | 5.46AA | 1.89— |
| #FF9F1C | 8.33AAA | 1.06— | Same color | 5.76AA | 1.79— |
| #1F3B47 | 1.45— | 5.46AA | 5.76AA | Same color | 10.31AAA |
| #E8F1F2 | 14.90AAA | 1.89— | 1.79— | 10.31AAA | Same color |
Shades
Shades and tints (50–950)
