PreviewingGo to this paletteOpen in generator
Code
/* Cerulean Harbor — colorset.net */
:root {
--color-1: #007BA7;
--color-2: #0087BD;
--color-3: #2A52BE;
--color-4: #4682B4;
--color-5: #7CB9E8;
--color-bg: #F0F8FF;
--color-surface: #E2EFFA;
--color-border: #C7D7E4;
--color-text: #364D80;
--color-muted: #606B83;
--color-primary: #2A52BE;
--color-on-primary: #FFFFFF;
--color-accent: #007EB0;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #242D42;
--color-text: #97B6CF;
--color-muted: #6D8598;
--color-primary: #355ECC;
--color-on-primary: #FFFFFF;
--color-accent: #007EB0;
--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 | adjusted for contrast · from #7CB9E8 | adjusted for contrast · from #2A52BE |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #2A52BE | adjusted for contrast · from #7CB9E8 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | adjusted for contrast · from #2A52BE |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #007BA7 | adjusted for contrast · from #007BA7 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 6.89:1 | AA pass 4.5:1 | |
| Label on accent | 4.55:1 | AA pass 4.5:1 | |
| Primary on background | 6.42:1 | AA pass 3:1 | |
| Accent on background | 4.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.02:1 | AAA pass 4.5:1 | |
| Text on surface | 8.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 5.79:1 | AA pass 4.5:1 | |
| Label on accent | 4.55:1 | AA pass 4.5:1 | |
| Primary on background | 3.30:1 | AA Large pass 3:1 | |
| Accent on background | 4.20: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 | #007BA7 (Text 1) | #0087BD (Text 2) | #2A52BE (Text 3) | #4682B4 (Text 4) | #7CB9E8 (Text 5) |
|---|---|---|---|---|---|
| #007BA7 | Same color | 1.18— | 1.44— | 1.16— | 2.27— |
| #0087BD | 1.18— | Same color | 1.71— | 1.02— | 1.92— |
| #2A52BE | 1.44— | 1.71— | Same color | 1.68— | 3.27AA Large |
| #4682B4 | 1.16— | 1.02— | 1.68— | Same color | 1.95— |
| #7CB9E8 | 2.27— | 1.92— | 3.27AA Large | 1.95— | Same color |
Shades
Shades and tints (50–950)
