PreviewingGo to this paletteOpen in generator
Code
/* Pine Blue — colorset.net */
:root {
--color-1: #01161E;
--color-2: #124559;
--color-3: #598392;
--color-4: #AEC3B0;
--color-5: #EFF6E0;
--color-bg: #EFF6E0;
--color-surface: #F8FCEF;
--color-border: #D6DEC5;
--color-text: #01161E;
--color-muted: #526B75;
--color-primary: #598392;
--color-on-primary: #000000;
--color-accent: #878D79;
--color-on-accent: #01161E;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #01161E;
--color-surface: #092129;
--color-border: #1A3641;
--color-text: #EFF6E0;
--color-muted: #888E7A;
--color-primary: #598392;
--color-on-primary: #000000;
--color-accent: #566F79;
--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 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 | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #598392 | adjusted for contrast · from #598392 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.68:1 | AAA pass 4.5:1 | |
| Text on surface | 17.77:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 5.09:1 | AA pass 4.5:1 | |
| Label on accent | 5.39:1 | AA pass 4.5:1 | |
| Primary on background | 3.72:1 | AA Large pass 3:1 | |
| Accent on background | 3.09:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.68:1 | AAA pass 4.5:1 | |
| Text on surface | 15.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.46:1 | AA pass 4.5:1 | |
| Label on primary | 5.09:1 | AA pass 4.5:1 | |
| Label on accent | 5.32:1 | AA pass 4.5:1 | |
| Primary on background | 4.48:1 | AA Large pass 3:1 | |
| Accent on background | 3.48: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 | #01161E (Text 1) | #124559 (Text 2) | #598392 (Text 3) | #AEC3B0 (Text 4) | #EFF6E0 (Text 5) |
|---|---|---|---|---|---|
| #01161E | Same color | 1.78— | 4.48AA Large | 9.90AAA | 16.68AAA |
| #124559 | 1.78— | Same color | 2.52— | 5.56AA | 9.37AAA |
| #598392 | 4.48AA Large | 2.52— | Same color | 2.21— | 3.72AA Large |
| #AEC3B0 | 9.90AAA | 5.56AA | 2.21— | Same color | 1.69— |
| #EFF6E0 | 16.68AAA | 9.37AAA | 3.72AA Large | 1.69— | Same color |
Shades
Shades and tints (50–950)
