PreviewingGo to this paletteOpen in generator
Code
/* Cerulean Blue — colorset.net */
:root {
--color-1: #007BA7;
--color-2: #009FD4;
--color-3: #2EBDEC;
--color-4: #6DD4F5;
--color-5: #A8E6FA;
--color-bg: #EBFAFF;
--color-surface: #E0F1F7;
--color-border: #C4D9E0;
--color-text: #005473;
--color-muted: #526E7D;
--color-primary: #007FAA;
--color-on-primary: #FFFFFF;
--color-accent: #5490A3;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #00121C;
--color-surface: #061C27;
--color-border: #17313F;
--color-text: #B7E3F2;
--color-muted: #688893;
--color-primary: #009FD4;
--color-on-primary: #00121C;
--color-accent: #6DD4F5;
--color-on-accent: #00121C;
}
}
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 #A8E6FA | adjusted for contrast · from #007BA7 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #007BA7 | adjusted for contrast · from #A8E6FA |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #007BA7 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #009FD4 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.81:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 5.90:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 3.33:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.85:1 | AAA pass 4.5:1 | |
| Text on surface | 12.70:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 6.26:1 | AA pass 4.5:1 | |
| Label on accent | 11.23:1 | AAA pass 4.5:1 | |
| Primary on background | 6.26:1 | AA pass 3:1 | |
| Accent on background | 11.23: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 | #007BA7 (Text 1) | #009FD4 (Text 2) | #2EBDEC (Text 3) | #6DD4F5 (Text 4) | #A8E6FA (Text 5) |
|---|---|---|---|---|---|
| #007BA7 | Same color | 1.57— | 2.19— | 2.82— | 3.50AA Large |
| #009FD4 | 1.57— | Same color | 1.39— | 1.79— | 2.22— |
| #2EBDEC | 2.19— | 1.39— | Same color | 1.29— | 1.60— |
| #6DD4F5 | 2.82— | 1.79— | 1.29— | Same color | 1.24— |
| #A8E6FA | 3.50AA Large | 2.22— | 1.60— | 1.24— | Same color |
Shades
Shades and tints (50–950)
