PreviewingGo to this paletteOpen in generator
Code
/* Harbor Signal — colorset.net */
:root {
--color-1: #F4F6FA;
--color-2: #2F5BEA;
--color-3: #F2A23A;
--color-4: #8699BB;
--color-5: #111A2E;
--color-bg: #F4F6FA;
--color-surface: #EBEDF1;
--color-border: #D1D4DB;
--color-text: #111A2E;
--color-muted: #5F6B83;
--color-primary: #2F5BEA;
--color-on-primary: #FFFFFF;
--color-accent: #A86800;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #111A2E;
--color-surface: #1B253A;
--color-border: #303A50;
--color-text: #F4F6FA;
--color-muted: #8F9195;
--color-primary: #3462F1;
--color-on-primary: #FFFFFF;
--color-accent: #F2A23A;
--color-on-accent: #111A2E;
}
}
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 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #2F5BEA |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F2A23A | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.03:1 | AAA pass 4.5:1 | |
| Text on surface | 14.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 5.52:1 | AA pass 4.5:1 | |
| Label on accent | 4.52:1 | AA pass 4.5:1 | |
| Primary on background | 5.10:1 | AA pass 3:1 | |
| Accent on background | 4.18:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.03:1 | AAA pass 4.5:1 | |
| Text on surface | 14.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.49:1 | AA pass 4.5:1 | |
| Label on primary | 5.04:1 | AA pass 4.5:1 | |
| Label on accent | 8.26:1 | AAA pass 4.5:1 | |
| Primary on background | 3.44:1 | AA Large pass 3:1 | |
| Accent on background | 8.26: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 | #F4F6FA (Text 1) | #2F5BEA (Text 2) | #F2A23A (Text 3) | #8699BB (Text 4) | #111A2E (Text 5) |
|---|---|---|---|---|---|
| #F4F6FA | Same color | 5.10AA | 1.94— | 2.66— | 16.03AAA |
| #2F5BEA | 5.10AA | Same color | 2.63— | 1.92— | 3.14AA Large |
| #F2A23A | 1.94— | 2.63— | Same color | 1.37— | 8.26AAA |
| #8699BB | 2.66— | 1.92— | 1.37— | Same color | 6.02AA |
| #111A2E | 16.03AAA | 3.14AA Large | 8.26AAA | 6.02AA | Same color |
Shades
Shades and tints (50–950)
