PreviewingGo to this paletteOpen in generator
Code
/* Clear Morning — colorset.net */
:root {
--color-1: #E3F2FD;
--color-2: #BBDEFB;
--color-3: #90CAF9;
--color-4: #64B5F6;
--color-5: #42A5F5;
--color-bg: #E3F2FD;
--color-surface: #EFF8FF;
--color-border: #C8DAE7;
--color-text: #1F537E;
--color-muted: #596E82;
--color-primary: #278FDD;
--color-on-primary: #000000;
--color-accent: #7F8C96;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #03101E;
--color-surface: #0B1B29;
--color-border: #1D3041;
--color-text: #E3F2FD;
--color-muted: #7C8A93;
--color-primary: #42A5F5;
--color-on-primary: #03101E;
--color-accent: #BBDEFB;
--color-on-accent: #03101E;
}
}
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 1 | adjusted for contrast · from #42A5F5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #42A5F5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #42A5F5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #42A5F5 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.08:1 | AAA pass 4.5:1 | |
| Text on surface | 7.52:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.62:1 | AA pass 4.5:1 | |
| Label on primary | 6.06:1 | AA pass 4.5:1 | |
| Label on accent | 6.09:1 | AA pass 4.5:1 | |
| Primary on background | 3.03:1 | AA Large pass 3:1 | |
| Accent on background | 3.02:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.76:1 | AAA pass 4.5:1 | |
| Text on surface | 15.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.39:1 | AA pass 4.5:1 | |
| Label on primary | 7.23:1 | AAA pass 4.5:1 | |
| Label on accent | 13.64:1 | AAA pass 4.5:1 | |
| Primary on background | 7.23:1 | AAA pass 3:1 | |
| Accent on background | 13.64: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 | #E3F2FD (Text 1) | #BBDEFB (Text 2) | #90CAF9 (Text 3) | #64B5F6 (Text 4) | #42A5F5 (Text 5) |
|---|---|---|---|---|---|
| #E3F2FD | Same color | 1.23— | 1.53— | 1.94— | 2.32— |
| #BBDEFB | 1.23— | Same color | 1.25— | 1.58— | 1.89— |
| #90CAF9 | 1.53— | 1.25— | Same color | 1.27— | 1.51— |
| #64B5F6 | 1.94— | 1.58— | 1.27— | Same color | 1.20— |
| #42A5F5 | 2.32— | 1.89— | 1.51— | 1.20— | Same color |
Shades
Shades and tints (50–950)
