PreviewingGo to this paletteOpen in generator
Code
/* Open Ocean — colorset.net */
:root {
--color-1: #006994;
--color-2: #0080FF;
--color-3: #1E90FF;
--color-4: #00BFFF;
--color-5: #87CEEB;
--color-bg: #ECF9FF;
--color-surface: #E0F1F8;
--color-border: #C4D9E2;
--color-text: #015478;
--color-muted: #546E7E;
--color-primary: #0072E4;
--color-on-primary: #FFFFFF;
--color-accent: #4B92AD;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #01111C;
--color-surface: #071C27;
--color-border: #18313F;
--color-text: #A1CADB;
--color-muted: #688794;
--color-primary: #0072E4;
--color-on-primary: #FFFFFF;
--color-accent: #00BFFF;
--color-on-accent: #01111C;
}
}
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 #87CEEB | adjusted for contrast · from #006994 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #006994 | adjusted for contrast · from #87CEEB |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #0080FF | adjusted for contrast · from #0080FF |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #1E90FF | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.70:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 4.32:1 | AA Large pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.91:1 | AAA pass 4.5:1 | |
| Text on surface | 9.95:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 9.01:1 | AAA pass 4.5:1 | |
| Primary on background | 4.12:1 | AA Large pass 3:1 | |
| Accent on background | 9.01: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 | #006994 (Text 1) | #0080FF (Text 2) | #1E90FF (Text 3) | #00BFFF (Text 4) | #87CEEB (Text 5) |
|---|---|---|---|---|---|
| #006994 | Same color | 1.60— | 1.88— | 2.87— | 3.50AA Large |
| #0080FF | 1.60— | Same color | 1.17— | 1.79— | 2.18— |
| #1E90FF | 1.88— | 1.17— | Same color | 1.53— | 1.86— |
| #00BFFF | 2.87— | 1.79— | 1.53— | Same color | 1.22— |
| #87CEEB | 3.50AA Large | 2.18— | 1.86— | 1.22— | Same color |
Shades
Shades and tints (50–950)
