PreviewingGo to this paletteOpen in generator
Code
/* Denim Blue — colorset.net */
:root {
--color-1: #1560BD;
--color-2: #2E86C1;
--color-3: #5DADE2;
--color-4: #85C1E9;
--color-5: #D6EAF8;
--color-bg: #F2F8FC;
--color-surface: #E8EEF3;
--color-border: #CDD6DD;
--color-text: #2B4D7D;
--color-muted: #5B6B81;
--color-primary: #1560BD;
--color-on-primary: #FFFFFF;
--color-accent: #798B98;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #06101E;
--color-surface: #0F1A29;
--color-border: #212E42;
--color-text: #D6EAF8;
--color-muted: #738692;
--color-primary: #1D66C4;
--color-on-primary: #FFFFFF;
--color-accent: #85C1E9;
--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 #D6EAF8 | adjusted for contrast · from #1560BD |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #1560BD | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | adjusted for contrast · from #1560BD |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2E86C1 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.97:1 | AAA pass 4.5:1 | |
| Text on surface | 7.30:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 6.10:1 | AA pass 4.5:1 | |
| Label on accent | 5.96:1 | AA pass 4.5:1 | |
| Primary on background | 5.70:1 | AA pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.43:1 | AAA pass 4.5:1 | |
| Text on surface | 14.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.60:1 | AA pass 4.5:1 | |
| Label on accent | 9.81:1 | AAA pass 4.5:1 | |
| Primary on background | 3.41:1 | AA Large pass 3:1 | |
| Accent on background | 9.81: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 | #1560BD (Text 1) | #2E86C1 (Text 2) | #5DADE2 (Text 3) | #85C1E9 (Text 4) | #D6EAF8 (Text 5) |
|---|---|---|---|---|---|
| #1560BD | Same color | 1.54— | 2.48— | 3.14AA Large | 4.94AA |
| #2E86C1 | 1.54— | Same color | 1.61— | 2.04— | 3.21AA Large |
| #5DADE2 | 2.48— | 1.61— | Same color | 1.26— | 1.99— |
| #85C1E9 | 3.14AA Large | 2.04— | 1.26— | Same color | 1.57— |
| #D6EAF8 | 4.94AA | 3.21AA Large | 1.99— | 1.57— | Same color |
Shades
Shades and tints (50–950)
