PreviewingGo to this paletteOpen in generator
Code
/* Cerulean Coast — colorset.net */
:root {
--color-1: #007BA7;
--color-2: #2A52BE;
--color-3: #4682B4;
--color-4: #5F9EA0;
--color-5: #87CEEB;
--color-bg: #ECF9FF;
--color-surface: #E0F1F8;
--color-border: #C4D9E2;
--color-text: #364D80;
--color-muted: #606B83;
--color-primary: #2A52BE;
--color-on-primary: #FFFFFF;
--color-accent: #4B92AD;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #242D42;
--color-text: #A1CADB;
--color-muted: #688794;
--color-primary: #355ECC;
--color-on-primary: #FFFFFF;
--color-accent: #5F9EA0;
--color-on-accent: #080F1F;
}
}
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 #87CEEB | adjusted for contrast · from #2A52BE |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #2A52BE | adjusted for contrast · from #87CEEB |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #2A52BE |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #5F9EA0 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16: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 | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 6.42:1 | AA pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.91:1 | AAA pass 4.5:1 | |
| Text on surface | 10.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 5.79:1 | AA pass 4.5:1 | |
| Label on accent | 6.27:1 | AA pass 4.5:1 | |
| Primary on background | 3.30:1 | AA Large pass 3:1 | |
| Accent on background | 6.27:1 | AA 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) | #2A52BE (Text 2) | #4682B4 (Text 3) | #5F9EA0 (Text 4) | #87CEEB (Text 5) |
|---|---|---|---|---|---|
| #007BA7 | Same color | 1.44— | 1.16— | 1.57— | 2.75— |
| #2A52BE | 1.44— | Same color | 1.68— | 2.26— | 3.95AA Large |
| #4682B4 | 1.16— | 1.68— | Same color | 1.35— | 2.36— |
| #5F9EA0 | 1.57— | 2.26— | 1.35— | Same color | 1.75— |
| #87CEEB | 2.75— | 3.95AA Large | 2.36— | 1.75— | Same color |
Shades
Shades and tints (50–950)
