PreviewingGo to this paletteOpen in generator
Code
/* Ocean Silver — colorset.net */
:root {
--color-1: #AACCDD;
--color-2: #BBDDEE;
--color-3: #CCEEFF;
--color-4: #DDFFFF;
--color-5: #EEFFFF;
--color-bg: #EEFFFF;
--color-surface: #E5F6F6;
--color-border: #C9DEDE;
--color-text: #385665;
--color-muted: #567381;
--color-primary: #7090A0;
--color-on-primary: #000000;
--color-accent: #445E6A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071116;
--color-surface: #111B20;
--color-border: #223037;
--color-text: #EEFFFF;
--color-muted: #829191;
--color-primary: #AACCDD;
--color-on-primary: #071116;
--color-accent: #CCEEFF;
--color-on-accent: #071116;
}
}
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 5 | adjusted for contrast · from #AACCDD |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #AACCDD | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #AACCDD | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #AACCDD | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.59:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.89:1 | AA pass 4.5:1 | |
| Label on primary | 6.19:1 | AA pass 4.5:1 | |
| Label on accent | 6.87:1 | AA pass 4.5:1 | |
| Primary on background | 3.30:1 | AA Large pass 3:1 | |
| Accent on background | 6.67:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.52:1 | AAA pass 4.5:1 | |
| Text on surface | 16.97:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.82:1 | AA pass 4.5:1 | |
| Label on primary | 11.26:1 | AAA pass 4.5:1 | |
| Label on accent | 15.66:1 | AAA pass 4.5:1 | |
| Primary on background | 11.26:1 | AAA pass 3:1 | |
| Accent on background | 15.66: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 | #AACCDD (Text 1) | #BBDDEE (Text 2) | #CCEEFF (Text 3) | #DDFFFF (Text 4) | #EEFFFF (Text 5) |
|---|---|---|---|---|---|
| #AACCDD | Same color | 1.19— | 1.39— | 1.60— | 1.65— |
| #BBDDEE | 1.19— | Same color | 1.17— | 1.35— | 1.39— |
| #CCEEFF | 1.39— | 1.17— | Same color | 1.15— | 1.18— |
| #DDFFFF | 1.60— | 1.35— | 1.15— | Same color | 1.03— |
| #EEFFFF | 1.65— | 1.39— | 1.18— | 1.03— | Same color |
Shades
Shades and tints (50–950)
