PreviewingGo to this paletteOpen in generator
Code
/* Soft Blue — colorset.net */
:root {
--color-1: #F0F8FF;
--color-2: #E8F4FD;
--color-3: #E0F0FB;
--color-4: #D8ECF9;
--color-5: #D0E8F7;
--color-bg: #F0F8FF;
--color-surface: #E7EFF6;
--color-border: #CCD6E0;
--color-text: #3E525F;
--color-muted: #596F7C;
--color-primary: #768C9A;
--color-on-primary: #000000;
--color-accent: #495A65;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1014;
--color-surface: #141B1F;
--color-border: #252F36;
--color-text: #F0F8FF;
--color-muted: #858C93;
--color-primary: #D0E8F7;
--color-on-primary: #0A1014;
--color-accent: #9DB1BD;
--color-on-accent: #0A1014;
}
}
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 #D0E8F7 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D0E8F7 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D0E8F7 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D0E8F7 | adjusted for contrast · from #D0E8F7 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.60:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 5.99:1 | AA pass 4.5:1 | |
| Label on accent | 7.16:1 | AAA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 6.67:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.84:1 | AAA pass 4.5:1 | |
| Text on surface | 16.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.62:1 | AA pass 4.5:1 | |
| Label on primary | 15.10:1 | AAA pass 4.5:1 | |
| Label on accent | 8.62:1 | AAA pass 4.5:1 | |
| Primary on background | 15.10:1 | AAA pass 3:1 | |
| Accent on background | 8.62: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 | #F0F8FF (Text 1) | #E8F4FD (Text 2) | #E0F0FB (Text 3) | #D8ECF9 (Text 4) | #D0E8F7 (Text 5) |
|---|---|---|---|---|---|
| #F0F8FF | Same color | 1.04— | 1.09— | 1.13— | 1.18— |
| #E8F4FD | 1.04— | Same color | 1.04— | 1.09— | 1.13— |
| #E0F0FB | 1.09— | 1.04— | Same color | 1.04— | 1.09— |
| #D8ECF9 | 1.13— | 1.09— | 1.04— | Same color | 1.04— |
| #D0E8F7 | 1.18— | 1.13— | 1.09— | 1.04— | Same color |
Shades
Shades and tints (50–950)
