PreviewingGo to this paletteOpen in generator
Code
/* Morning Harbor Mist — colorset.net */
:root {
--color-1: #4682B4;
--color-2: #87CEEB;
--color-3: #B0C4DE;
--color-4: #E0F6FF;
--color-5: #F0F8FF;
--color-bg: #F0F8FF;
--color-surface: #E7EFF6;
--color-border: #CCD6E0;
--color-text: #19507A;
--color-muted: #576C80;
--color-primary: #3D79AA;
--color-on-primary: #FFFFFF;
--color-accent: #82898F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #03111E;
--color-surface: #0B1B29;
--color-border: #1C3041;
--color-text: #F0F8FF;
--color-muted: #858C93;
--color-primary: #3D79AA;
--color-on-primary: #FFFFFF;
--color-accent: #87CEEB;
--color-on-accent: #03111E;
}
}
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 #4682B4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4682B4 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4682B4 | adjusted for contrast · from #4682B4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4682B4 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.93:1 | AAA pass 4.5:1 | |
| Text on surface | 7.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 5.92:1 | AA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.75:1 | AAA pass 4.5:1 | |
| Text on surface | 16.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.59:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 10.93:1 | AAA pass 4.5:1 | |
| Primary on background | 4.09:1 | AA Large pass 3:1 | |
| Accent on background | 10.93: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 | #4682B4 (Text 1) | #87CEEB (Text 2) | #B0C4DE (Text 3) | #E0F6FF (Text 4) | #F0F8FF (Text 5) |
|---|---|---|---|---|---|
| #4682B4 | Same color | 2.36— | 2.31— | 3.68AA Large | 3.83AA Large |
| #87CEEB | 2.36— | Same color | 1.02— | 1.56— | 1.62— |
| #B0C4DE | 2.31— | 1.02— | Same color | 1.59— | 1.66— |
| #E0F6FF | 3.68AA Large | 1.56— | 1.59— | Same color | 1.04— |
| #F0F8FF | 3.83AA Large | 1.62— | 1.66— | 1.04— | Same color |
Shades
Shades and tints (50–950)
