PreviewingGo to this paletteOpen in generator
Code
/* Coast Blue — colorset.net */
:root {
--color-1: #4A8FB5;
--color-2: #65A9CD;
--color-3: #80C3E5;
--color-4: #9BDDFD;
--color-5: #B6EDFF;
--color-bg: #EAFAFF;
--color-surface: #E1F1F6;
--color-border: #C5D9E0;
--color-text: #005477;
--color-muted: #546E7E;
--color-primary: #377DA2;
--color-on-primary: #FFFFFF;
--color-accent: #5C90A1;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #00121C;
--color-surface: #071C27;
--color-border: #18313F;
--color-text: #BFEBFA;
--color-muted: #668791;
--color-primary: #377DA2;
--color-on-primary: #FFFFFF;
--color-accent: #9BDDFD;
--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 #B6EDFF | adjusted for contrast · from #4A8FB5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4A8FB5 | adjusted for contrast · from #B6EDFF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4A8FB5 | adjusted for contrast · from #4A8FB5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4A8FB5 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 5.96:1 | AA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.94:1 | AAA pass 4.5:1 | |
| Text on surface | 13.68:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 12.83:1 | AAA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 12.83: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 | #4A8FB5 (Text 1) | #65A9CD (Text 2) | #80C3E5 (Text 3) | #9BDDFD (Text 4) | #B6EDFF (Text 5) |
|---|---|---|---|---|---|
| #4A8FB5 | Same color | 1.38— | 1.84— | 2.40— | 2.81— |
| #65A9CD | 1.38— | Same color | 1.34— | 1.75— | 2.04— |
| #80C3E5 | 1.84— | 1.34— | Same color | 1.30— | 1.52— |
| #9BDDFD | 2.40— | 1.75— | 1.30— | Same color | 1.17— |
| #B6EDFF | 2.81— | 2.04— | 1.52— | 1.17— | Same color |
Shades
Shades and tints (50–950)
