PreviewingGo to this paletteOpen in generator
Code
/* Washed Denim — colorset.net */
:root {
--color-1: #1560BD;
--color-2: #1E6FBD;
--color-3: #4682B4;
--color-4: #6495ED;
--color-5: #87CEEB;
--color-bg: #ECF9FF;
--color-surface: #E0F1F8;
--color-border: #C4D9E2;
--color-text: #2E5080;
--color-muted: #5D6D83;
--color-primary: #1560BD;
--color-on-primary: #FFFFFF;
--color-accent: #4B92AD;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #06101E;
--color-surface: #0F1A29;
--color-border: #212E42;
--color-text: #A1CADB;
--color-muted: #688794;
--color-primary: #1D66C4;
--color-on-primary: #FFFFFF;
--color-accent: #6495ED;
--color-on-accent: #06101E;
}
}
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 #87CEEB | adjusted for contrast · from #1560BD |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #1560BD | adjusted for contrast · from #87CEEB |
| Muted text | derived | derived |
| Primary | from palette · color 1 | adjusted for contrast · from #1560BD |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4682B4 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.60:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 6.10:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 5.69:1 | AA pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.89:1 | AAA pass 4.5:1 | |
| Text on surface | 9.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 5.60:1 | AA pass 4.5:1 | |
| Label on accent | 6.42:1 | AA pass 4.5:1 | |
| Primary on background | 3.41:1 | AA Large pass 3:1 | |
| Accent on background | 6.42:1 | AA 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 | #1560BD (Text 1) | #1E6FBD (Text 2) | #4682B4 (Text 3) | #6495ED (Text 4) | #87CEEB (Text 5) |
|---|---|---|---|---|---|
| #1560BD | Same color | 1.18— | 1.49— | 2.05— | 3.51AA Large |
| #1E6FBD | 1.18— | Same color | 1.26— | 1.74— | 2.97— |
| #4682B4 | 1.49— | 1.26— | Same color | 1.38— | 2.36— |
| #6495ED | 2.05— | 1.74— | 1.38— | Same color | 1.71— |
| #87CEEB | 3.51AA Large | 2.97— | 2.36— | 1.71— | Same color |
Shades
Shades and tints (50–950)
