PreviewingGo to this paletteOpen in generator
Code
/* Cerulean Bay — colorset.net */
:root {
--color-1: #2A52BE;
--color-2: #4466C8;
--color-3: #5E7AD2;
--color-4: #788EDC;
--color-5: #92A2E6;
--color-bg: #F4F6FF;
--color-surface: #E9EDFB;
--color-border: #CFD4E6;
--color-text: #364D80;
--color-muted: #606B83;
--color-primary: #2A52BE;
--color-on-primary: #FFFFFF;
--color-accent: #6371B1;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #242D42;
--color-text: #9CA5C7;
--color-muted: #7C839D;
--color-primary: #355ECC;
--color-on-primary: #FFFFFF;
--color-accent: #92A2E6;
--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 #92A2E6 | adjusted for contrast · from #2A52BE |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #2A52BE | adjusted for contrast · from #92A2E6 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | adjusted for contrast · from #4466C8 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #5E7AD2 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.70:1 | AAA pass 4.5:1 | |
| Text on surface | 7.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 6.89:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 6.39:1 | AA pass 3:1 | |
| Accent on background | 4.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.85:1 | AAA pass 4.5:1 | |
| Text on surface | 7.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 5.79:1 | AA pass 4.5:1 | |
| Label on accent | 7.77:1 | AAA pass 4.5:1 | |
| Primary on background | 3.30:1 | AA Large pass 3:1 | |
| Accent on background | 7.77: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 | #2A52BE (Text 1) | #4466C8 (Text 2) | #5E7AD2 (Text 3) | #788EDC (Text 4) | #92A2E6 (Text 5) |
|---|---|---|---|---|---|
| #2A52BE | Same color | 1.31— | 1.70— | 2.20— | 2.80— |
| #4466C8 | 1.31— | Same color | 1.30— | 1.68— | 2.14— |
| #5E7AD2 | 1.70— | 1.30— | Same color | 1.29— | 1.64— |
| #788EDC | 2.20— | 1.68— | 1.29— | Same color | 1.27— |
| #92A2E6 | 2.80— | 2.14— | 1.64— | 1.27— | Same color |
Shades
Shades and tints (50–950)
