PreviewingGo to this paletteOpen in generator
Code
/* Morning Sky — colorset.net */
:root {
--color-1: #3B82F6;
--color-2: #60A5FA;
--color-3: #93C5FD;
--color-4: #BFDBFE;
--color-5: #DBEAFE;
--color-bg: #DBEAFE;
--color-surface: #E8F1FD;
--color-border: #C1D2E8;
--color-text: #2D4B7C;
--color-muted: #59677E;
--color-primary: #2B72E5;
--color-on-primary: #FFFFFF;
--color-accent: #778597;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #060F1E;
--color-surface: #101A2A;
--color-border: #222E42;
--color-text: #DBEAFE;
--color-muted: #778597;
--color-primary: #2B72E5;
--color-on-primary: #FFFFFF;
--color-accent: #BFDBFE;
--color-on-accent: #060F1E;
}
}
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 #3B82F6 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #3B82F6 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #3B82F6 | adjusted for contrast · from #3B82F6 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #60A5FA | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.14:1 | AAA pass 4.5:1 | |
| Text on surface | 7.65:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.69:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 5.59:1 | AA pass 4.5:1 | |
| Primary on background | 3.71:1 | AA Large pass 3:1 | |
| Accent on background | 3.08:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.72:1 | AAA pass 4.5:1 | |
| Text on surface | 14.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 13.50:1 | AAA pass 4.5:1 | |
| Primary on background | 4.24:1 | AA Large pass 3:1 | |
| Accent on background | 13.50: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 | #3B82F6 (Text 1) | #60A5FA (Text 2) | #93C5FD (Text 3) | #BFDBFE (Text 4) | #DBEAFE (Text 5) |
|---|---|---|---|---|---|
| #3B82F6 | Same color | 1.45— | 2.04— | 2.59— | 3.01AA Large |
| #60A5FA | 1.45— | Same color | 1.41— | 1.79— | 2.08— |
| #93C5FD | 2.04— | 1.41— | Same color | 1.27— | 1.48— |
| #BFDBFE | 2.59— | 1.79— | 1.27— | Same color | 1.16— |
| #DBEAFE | 3.01AA Large | 2.08— | 1.48— | 1.16— | Same color |
Shades
Shades and tints (50–950)
