PreviewingGo to this paletteOpen in generator
Code
/* Ash Blue — colorset.net */
:root {
--color-1: #4A5F73;
--color-2: #5D7A94;
--color-3: #7195B6;
--color-4: #A0B8D1;
--color-5: #C8DCE8;
--color-bg: #F2F8FB;
--color-surface: #E8EEF2;
--color-border: #CDD6DC;
--color-text: #3A4E62;
--color-muted: #576C7F;
--color-primary: #5D7A94;
--color-on-primary: #000000;
--color-accent: #788A95;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1016;
--color-surface: #131A21;
--color-border: #252F38;
--color-text: #C8DCE8;
--color-muted: #72848F;
--color-primary: #5D7A94;
--color-on-primary: #000000;
--color-accent: #A0B8D1;
--color-on-accent: #0A1016;
}
}
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 #C8DCE8 | adjusted for contrast · from #4A5F73 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4A5F73 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7195B6 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.01:1 | AAA pass 4.5:1 | |
| Text on surface | 7.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 5.87:1 | AA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 3.34:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.52:1 | AAA pass 4.5:1 | |
| Text on surface | 12.41:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 9.35:1 | AAA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 9.35: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 | #4A5F73 (Text 1) | #5D7A94 (Text 2) | #7195B6 (Text 3) | #A0B8D1 (Text 4) | #C8DCE8 (Text 5) |
|---|---|---|---|---|---|
| #4A5F73 | Same color | 1.47— | 2.10— | 3.23AA Large | 4.68AA |
| #5D7A94 | 1.47— | Same color | 1.43— | 2.20— | 3.18AA Large |
| #7195B6 | 2.10— | 1.43— | Same color | 1.54— | 2.23— |
| #A0B8D1 | 3.23AA Large | 2.20— | 1.54— | Same color | 1.45— |
| #C8DCE8 | 4.68AA | 3.18AA Large | 2.23— | 1.45— | Same color |
Shades
Shades and tints (50–950)
