PreviewingGo to this paletteOpen in generator
Code
/* Pacific Blue — colorset.net */
:root {
--color-1: #01579B;
--color-2: #0277BD;
--color-3: #0288D1;
--color-4: #039BE5;
--color-5: #03A9F4;
--color-bg: #EFF8FF;
--color-surface: #E2F0FA;
--color-border: #C7D8E4;
--color-text: #23507D;
--color-muted: #596C81;
--color-primary: #007CBF;
--color-on-primary: #FFFFFF;
--color-accent: #01579B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #04101E;
--color-surface: #0D1A29;
--color-border: #1E2F41;
--color-text: #88A9C1;
--color-muted: #6D8798;
--color-primary: #007CBF;
--color-on-primary: #FFFFFF;
--color-accent: #03A9F4;
--color-on-accent: #04101E;
}
}
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 #03A9F4 | adjusted for contrast · from #01579B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #01579B | adjusted for contrast · from #03A9F4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #0277BD | adjusted for contrast · from #0277BD |
| On primary | derived | derived |
| Accent | from palette · color 1 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 7.40:1 | AAA pass 4.5:1 | |
| Primary on background | 4.22:1 | AA Large pass 3:1 | |
| Accent on background | 6.89:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 7.27:1 | AAA pass 4.5:1 | |
| Primary on background | 4.22:1 | AA Large pass 3:1 | |
| Accent on background | 7.27: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 | #01579B (Text 1) | #0277BD (Text 2) | #0288D1 (Text 3) | #039BE5 (Text 4) | #03A9F4 (Text 5) |
|---|---|---|---|---|---|
| #01579B | Same color | 1.54— | 1.92— | 2.40— | 2.81— |
| #0277BD | 1.54— | Same color | 1.24— | 1.56— | 1.82— |
| #0288D1 | 1.92— | 1.24— | Same color | 1.25— | 1.47— |
| #039BE5 | 2.40— | 1.56— | 1.25— | Same color | 1.17— |
| #03A9F4 | 2.81— | 1.82— | 1.47— | 1.17— | Same color |
Shades
Shades and tints (50–950)
