PreviewingGo to this paletteOpen in generator
Code
/* Ocean Friends — colorset.net */
:root {
--color-1: #F1FAFF;
--color-2: #0086D3;
--color-3: #EBC75E;
--color-4: #A1CAE8;
--color-5: #102743;
--color-bg: #F1FAFF;
--color-surface: #E8F1F6;
--color-border: #CCD9E0;
--color-text: #102743;
--color-muted: #5C6D83;
--color-primary: #007AC0;
--color-on-primary: #FFFFFF;
--color-accent: #A78500;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #08101A;
--color-surface: #121A24;
--color-border: #242F3C;
--color-text: #F1FAFF;
--color-muted: #858D92;
--color-primary: #007AC0;
--color-on-primary: #FFFFFF;
--color-accent: #EBC75E;
--color-on-accent: #08101A;
}
}
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 | from palette · color 1 | adjusted for contrast · from #102743 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #0086D3 | adjusted for contrast · from #0086D3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #EBC75E | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.25:1 | AAA pass 4.5:1 | |
| Text on surface | 13.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 6.00:1 | AA pass 4.5:1 | |
| Primary on background | 4.37:1 | AA Large pass 3:1 | |
| Accent on background | 3.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.06:1 | AAA pass 4.5:1 | |
| Text on surface | 16.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.66:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 11.70:1 | AAA pass 4.5:1 | |
| Primary on background | 4.13:1 | AA Large pass 3:1 | |
| Accent on background | 11.70: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 | #F1FAFF (Text 1) | #0086D3 (Text 2) | #EBC75E (Text 3) | #A1CAE8 (Text 4) | #102743 (Text 5) |
|---|---|---|---|---|---|
| #F1FAFF | Same color | 3.71AA Large | 1.54— | 1.64— | 14.25AAA |
| #0086D3 | 3.71AA Large | Same color | 2.40— | 2.27— | 3.84AA Large |
| #EBC75E | 1.54— | 2.40— | Same color | 1.06— | 9.23AAA |
| #A1CAE8 | 1.64— | 2.27— | 1.06— | Same color | 8.71AAA |
| #102743 | 14.25AAA | 3.84AA Large | 9.23AAA | 8.71AAA | Same color |
Shades
Shades and tints (50–950)
