PreviewingGo to this paletteOpen in generator
Code
/* Harbor Buoy — colorset.net */
:root {
--color-1: #F2F5F8;
--color-2: #1F4E79;
--color-3: #E1634B;
--color-4: #C7D3DF;
--color-5: #121C29;
--color-bg: #F2F5F8;
--color-surface: #FAFCFE;
--color-border: #D7DDE2;
--color-text: #121C29;
--color-muted: #626F7F;
--color-primary: #E1634B;
--color-on-primary: #121C29;
--color-accent: #1F4E79;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #121C29;
--color-surface: #1C2734;
--color-border: #2F3C4D;
--color-text: #F2F5F8;
--color-muted: #8E9194;
--color-primary: #E1634B;
--color-on-primary: #121C29;
--color-accent: #4573A1;
--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 | 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 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #1F4E79 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.68:1 | AAA pass 4.5:1 | |
| Text on surface | 16.69:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.68:1 | AA pass 4.5:1 | |
| Label on primary | 4.97:1 | AA pass 4.5:1 | |
| Label on accent | 8.66:1 | AAA pass 4.5:1 | |
| Primary on background | 3.15:1 | AA Large pass 3:1 | |
| Accent on background | 7.92:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.68:1 | AAA pass 4.5:1 | |
| Text on surface | 13.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.42:1 | AA pass 4.5:1 | |
| Label on primary | 4.97:1 | AA pass 4.5:1 | |
| Label on accent | 4.98:1 | AA pass 4.5:1 | |
| Primary on background | 4.97:1 | AA pass 3:1 | |
| Accent on background | 3.45: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 | #F2F5F8 (Text 1) | #1F4E79 (Text 2) | #E1634B (Text 3) | #C7D3DF (Text 4) | #121C29 (Text 5) |
|---|---|---|---|---|---|
| #F2F5F8 | Same color | 7.92AAA | 3.15AA Large | 1.39— | 15.68AAA |
| #1F4E79 | 7.92AAA | Same color | 2.51— | 5.70AA | 1.98— |
| #E1634B | 3.15AA Large | 2.51— | Same color | 2.27— | 4.97AA |
| #C7D3DF | 1.39— | 5.70AA | 2.27— | Same color | 11.29AAA |
| #121C29 | 15.68AAA | 1.98— | 4.97AA | 11.29AAA | Same color |
Shades
Shades and tints (50–950)
