PreviewingGo to this paletteOpen in generator
Code
/* Denim Jacket — colorset.net */
:root {
--color-1: #1560BD;
--color-2: #1E90FF;
--color-3: #2E5090;
--color-4: #4682B4;
--color-5: #6082B6;
--color-bg: #F1F7FF;
--color-surface: #E4EFFB;
--color-border: #CAD6E5;
--color-text: #334F81;
--color-muted: #5F6C83;
--color-primary: #0075D7;
--color-on-primary: #FFFFFF;
--color-accent: #1560BD;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #070F1F;
--color-surface: #10192A;
--color-border: #232E42;
--color-text: #90A8C4;
--color-muted: #73859B;
--color-primary: #1E90FF;
--color-on-primary: #070F1F;
--color-accent: #4164A6;
--color-on-accent: #FFFFFF;
}
}
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 #1E90FF | adjusted for contrast · from #2E5090 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #2E5090 | adjusted for contrast · from #6082B6 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #1560BD | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #1560BD |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.56:1 | AAA pass 4.5:1 | |
| Text on surface | 7.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 6.10:1 | AA pass 4.5:1 | |
| Primary on background | 4.31:1 | AA Large pass 3:1 | |
| Accent on background | 5.67:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.82:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 5.91:1 | AA pass 4.5:1 | |
| Label on accent | 5.84:1 | AA pass 4.5:1 | |
| Primary on background | 5.91:1 | AA pass 3:1 | |
| Accent on background | 3.28:1 | AA Large 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) | #1E90FF (Text 2) | #2E5090 (Text 3) | #4682B4 (Text 4) | #6082B6 (Text 5) |
|---|---|---|---|---|---|
| #1560BD | Same color | 1.89— | 1.29— | 1.49— | 1.56— |
| #1E90FF | 1.89— | Same color | 2.43— | 1.27— | 1.21— |
| #2E5090 | 1.29— | 2.43— | Same color | 1.92— | 2.01— |
| #4682B4 | 1.49— | 1.27— | 1.92— | Same color | 1.05— |
| #6082B6 | 1.56— | 1.21— | 2.01— | 1.05— | Same color |
Shades
Shades and tints (50–950)
