PreviewingGo to this paletteOpen in generator
Code
/* Foggy Pier — colorset.net */
:root {
--color-1: #708090;
--color-2: #778899;
--color-3: #B0C4DE;
--color-4: #E6E6FA;
--color-5: #F5F5DC;
--color-bg: #F5F5DC;
--color-surface: #FBFCED;
--color-border: #DDDCC0;
--color-text: #435261;
--color-muted: #606F7F;
--color-primary: #708090;
--color-on-primary: #000000;
--color-accent: #8C8C75;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1015;
--color-surface: #151A1F;
--color-border: #272F36;
--color-text: #F5F5DC;
--color-muted: #8B8B74;
--color-primary: #708090;
--color-on-primary: #0B1015;
--color-accent: #E6E6FA;
--color-on-accent: #0B1015;
}
}
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 #708090 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #708090 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #778899 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.25:1 | AAA pass 4.5:1 | |
| Text on surface | 7.73:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.65:1 | AA pass 4.5:1 | |
| Label on primary | 5.18:1 | AA pass 4.5:1 | |
| Label on accent | 6.12:1 | AA pass 4.5:1 | |
| Primary on background | 3.66:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.26:1 | AAA pass 4.5:1 | |
| Text on surface | 15.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.50:1 | AA pass 4.5:1 | |
| Label on primary | 4.71:1 | AA pass 4.5:1 | |
| Label on accent | 15.52:1 | AAA pass 4.5:1 | |
| Primary on background | 4.71:1 | AA pass 3:1 | |
| Accent on background | 15.52: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 | #708090 (Text 1) | #778899 (Text 2) | #B0C4DE (Text 3) | #E6E6FA (Text 4) | #F5F5DC (Text 5) |
|---|---|---|---|---|---|
| #708090 | Same color | 1.11— | 2.28— | 3.29AA Large | 3.66AA Large |
| #778899 | 1.11— | Same color | 2.05— | 2.96— | 3.29AA Large |
| #B0C4DE | 2.28— | 2.05— | Same color | 1.45— | 1.61— |
| #E6E6FA | 3.29AA Large | 2.96— | 1.45— | Same color | 1.11— |
| #F5F5DC | 3.66AA Large | 3.29AA Large | 1.61— | 1.11— | Same color |
Shades
Shades and tints (50–950)
