PreviewingGo to this paletteOpen in generator
Code
/* Dream Blue — colorset.net */
:root {
--color-1: #E0E5EC;
--color-2: #C8D0E7;
--color-3: #BEC8E4;
--color-4: #A3B1DF;
--color-5: #8E9ADB;
--color-bg: #F5F7F9;
--color-surface: #ECEDF0;
--color-border: #D1D5DA;
--color-text: #434B81;
--color-muted: #656A83;
--color-primary: #7985C4;
--color-on-primary: #000000;
--color-accent: #82878D;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B0E1E;
--color-surface: #15182A;
--color-border: #282C42;
--color-text: #E0E5EC;
--color-muted: #7E8288;
--color-primary: #8E9ADB;
--color-on-primary: #0B0E1E;
--color-accent: #C8D0E7;
--color-on-accent: #0B0E1E;
}
}
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 | adjusted for contrast · from #E0E5EC | adjusted for contrast · from #8E9ADB |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8E9ADB | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8E9ADB | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8E9ADB | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 5.97:1 | AA pass 4.5:1 | |
| Label on accent | 5.80:1 | AA pass 4.5:1 | |
| Primary on background | 3.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.37:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.14:1 | AAA pass 4.5:1 | |
| Text on surface | 13.87:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 7.11:1 | AAA pass 4.5:1 | |
| Label on accent | 12.44:1 | AAA pass 4.5:1 | |
| Primary on background | 7.11:1 | AAA pass 3:1 | |
| Accent on background | 12.44: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 | #E0E5EC (Text 1) | #C8D0E7 (Text 2) | #BEC8E4 (Text 3) | #A3B1DF (Text 4) | #8E9ADB (Text 5) |
|---|---|---|---|---|---|
| #E0E5EC | Same color | 1.22— | 1.32— | 1.67— | 2.13— |
| #C8D0E7 | 1.22— | Same color | 1.08— | 1.38— | 1.75— |
| #BEC8E4 | 1.32— | 1.08— | Same color | 1.27— | 1.61— |
| #A3B1DF | 1.67— | 1.38— | 1.27— | Same color | 1.27— |
| #8E9ADB | 2.13— | 1.75— | 1.61— | 1.27— | Same color |
Shades
Shades and tints (50–950)
