PreviewingGo to this paletteOpen in generator
Code
/* Ocean Deal — colorset.net */
:root {
--color-1: #F0F6FC;
--color-2: #0068B4;
--color-3: #FFB400;
--color-4: #A9C6E3;
--color-5: #082542;
--color-bg: #F0F6FC;
--color-surface: #FBFDFF;
--color-border: #D5DEE6;
--color-text: #082542;
--color-muted: #5E7085;
--color-primary: #0068B4;
--color-on-primary: #FFFFFF;
--color-accent: #BB8300;
--color-on-accent: #082542;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #07101A;
--color-surface: #111A25;
--color-border: #222F3D;
--color-text: #F0F6FC;
--color-muted: #868B90;
--color-primary: #0068B4;
--color-on-primary: #FFFFFF;
--color-accent: #FFB400;
--color-on-accent: #07101A;
}
}
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 #082542 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFB400 | 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 | 15.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.67:1 | AA pass 4.5:1 | |
| Label on primary | 5.77:1 | AA pass 4.5:1 | |
| Label on accent | 4.70:1 | AA pass 4.5:1 | |
| Primary on background | 5.30:1 | AA pass 3:1 | |
| Accent on background | 3.03:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.57:1 | AAA pass 4.5:1 | |
| Text on surface | 16.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.56:1 | AA pass 4.5:1 | |
| Label on primary | 5.77:1 | AA pass 4.5:1 | |
| Label on accent | 10.73:1 | AAA pass 4.5:1 | |
| Primary on background | 3.31:1 | AA Large pass 3:1 | |
| Accent on background | 10.73: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 | #F0F6FC (Text 1) | #0068B4 (Text 2) | #FFB400 (Text 3) | #A9C6E3 (Text 4) | #082542 (Text 5) |
|---|---|---|---|---|---|
| #F0F6FC | Same color | 5.30AA | 1.64— | 1.62— | 14.25AAA |
| #0068B4 | 5.30AA | Same color | 3.24AA Large | 3.26AA Large | 2.69— |
| #FFB400 | 1.64— | 3.24AA Large | Same color | 1.01— | 8.70AAA |
| #A9C6E3 | 1.62— | 3.26AA Large | 1.01— | Same color | 8.77AAA |
| #082542 | 14.25AAA | 2.69— | 8.70AAA | 8.77AAA | Same color |
Shades
Shades and tints (50–950)
