PreviewingGo to this paletteOpen in generator
Code
/* Ocean Mist — colorset.net */
:root {
--color-1: #E0F2E7;
--color-2: #F0F8F3;
--color-3: #F7FBF9;
--color-4: #FDFEFD;
--color-5: #D6ECE0;
--color-bg: #FDFEFD;
--color-surface: #F4F5F4;
--color-border: #D9DDD9;
--color-text: #43564C;
--color-muted: #60746A;
--color-primary: #7C9085;
--color-on-primary: #000000;
--color-accent: #4E5E55;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B110E;
--color-surface: #151B18;
--color-border: #27302B;
--color-text: #FDFEFD;
--color-muted: #8E8F8E;
--color-primary: #D6ECE0;
--color-on-primary: #0B110E;
--color-accent: #A2B4AA;
--color-on-accent: #0B110E;
}
}
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 4 | adjusted for contrast · from #D6ECE0 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D6ECE0 | from palette · color 4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D6ECE0 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D6ECE0 | adjusted for contrast · from #D6ECE0 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94: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.36:1 | AA Large pass 3:1 | |
| Accent on background | 6.80:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.87:1 | AAA pass 4.5:1 | |
| Text on surface | 17.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.88:1 | AA pass 4.5:1 | |
| Label on primary | 15.38:1 | AAA pass 4.5:1 | |
| Label on accent | 8.76:1 | AAA pass 4.5:1 | |
| Primary on background | 15.38:1 | AAA pass 3:1 | |
| Accent on background | 8.76: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 | #E0F2E7 (Text 1) | #F0F8F3 (Text 2) | #F7FBF9 (Text 3) | #FDFEFD (Text 4) | #D6ECE0 (Text 5) |
|---|---|---|---|---|---|
| #E0F2E7 | Same color | 1.08— | 1.12— | 1.15— | 1.06— |
| #F0F8F3 | 1.08— | Same color | 1.04— | 1.07— | 1.15— |
| #F7FBF9 | 1.12— | 1.04— | Same color | 1.03— | 1.19— |
| #FDFEFD | 1.15— | 1.07— | 1.03— | Same color | 1.23— |
| #D6ECE0 | 1.06— | 1.15— | 1.19— | 1.23— | Same color |
Shades
Shades and tints (50–950)
