PreviewingGo to this paletteOpen in generator
Code
/* Coastline Azure — colorset.net */
:root {
--color-1: #0077BE;
--color-2: #1A87CE;
--color-3: #3397DE;
--color-4: #4DA7EE;
--color-5: #66B7FE;
--color-bg: #F0F8FF;
--color-surface: #E3EFFB;
--color-border: #C8D7E5;
--color-text: #1A517B;
--color-muted: #576D80;
--color-primary: #007BC0;
--color-on-primary: #FFFFFF;
--color-accent: #004975;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #03111E;
--color-surface: #0B1B29;
--color-border: #1C3041;
--color-text: #97B4CF;
--color-muted: #70869B;
--color-primary: #007BC0;
--color-on-primary: #FFFFFF;
--color-accent: #66B7FE;
--color-on-accent: #03111E;
}
}
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 #66B7FE | adjusted for contrast · from #0077BE |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0077BE | adjusted for contrast · from #66B7FE |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #0077BE | adjusted for contrast · from #0077BE |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #0077BE | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.81:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 9.50:1 | AAA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 8.86:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.84:1 | AAA pass 4.5:1 | |
| Text on surface | 8.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 8.86:1 | AAA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 8.86: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 | #0077BE (Text 1) | #1A87CE (Text 2) | #3397DE (Text 3) | #4DA7EE (Text 4) | #66B7FE (Text 5) |
|---|---|---|---|---|---|
| #0077BE | Same color | 1.23— | 1.51— | 1.84— | 2.23— |
| #1A87CE | 1.23— | Same color | 1.23— | 1.50— | 1.81— |
| #3397DE | 1.51— | 1.23— | Same color | 1.22— | 1.48— |
| #4DA7EE | 1.84— | 1.50— | 1.22— | Same color | 1.21— |
| #66B7FE | 2.23— | 1.81— | 1.48— | 1.21— | Same color |
Shades
Shades and tints (50–950)
