PreviewingGo to this paletteOpen in generator
Code
/* Coastal Deep — colorset.net */
:root {
--color-1: #003B46;
--color-2: #005F73;
--color-3: #007BA7;
--color-4: #4682B4;
--color-5: #5F9EA0;
--color-bg: #E9FBFC;
--color-surface: #DFF2F2;
--color-border: #C3DADB;
--color-text: #003B46;
--color-muted: #50717A;
--color-primary: #007BA7;
--color-on-primary: #FFFFFF;
--color-accent: #539294;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #041216;
--color-surface: #0C1C20;
--color-border: #1D3237;
--color-text: #7FAEAF;
--color-muted: #668A8B;
--color-primary: #007BA7;
--color-on-primary: #FFFFFF;
--color-accent: #5F9EA0;
--color-on-accent: #041216;
}
}
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 #5F9EA0 | adjusted for contrast · from #003B46 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #5F9EA0 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #5F9EA0 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.48:1 | AAA pass 4.5:1 | |
| Text on surface | 10.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 4.78:1 | AA pass 4.5:1 | |
| Label on accent | 5.91:1 | AA pass 4.5:1 | |
| Primary on background | 4.48:1 | AA Large pass 3:1 | |
| Accent on background | 3.33:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.78:1 | AA pass 4.5:1 | |
| Label on accent | 6.24:1 | AA pass 4.5:1 | |
| Primary on background | 3.98:1 | AA Large pass 3:1 | |
| Accent on background | 6.24: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 | #003B46 (Text 1) | #005F73 (Text 2) | #007BA7 (Text 3) | #4682B4 (Text 4) | #5F9EA0 (Text 5) |
|---|---|---|---|---|---|
| #003B46 | Same color | 1.68— | 2.56— | 2.98— | 4.02AA Large |
| #005F73 | 1.68— | Same color | 1.52— | 1.77— | 2.39— |
| #007BA7 | 2.56— | 1.52— | Same color | 1.16— | 1.57— |
| #4682B4 | 2.98— | 1.77— | 1.16— | Same color | 1.35— |
| #5F9EA0 | 4.02AA Large | 2.39— | 1.57— | 1.35— | Same color |
Shades
Shades and tints (50–950)
