PreviewingGo to this paletteOpen in generator
Code
/* Denim Horizon — colorset.net */
:root {
--color-1: #2E5984;
--color-2: #4A7BA7;
--color-3: #669DCA;
--color-4: #82BFED;
--color-5: #9EE1FF;
--color-bg: #EDF9FF;
--color-surface: #E0F1F8;
--color-border: #C5D9E2;
--color-text: #26517B;
--color-muted: #596D81;
--color-primary: #4778A4;
--color-on-primary: #FFFFFF;
--color-accent: #5091AD;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #04101E;
--color-surface: #0D1A29;
--color-border: #1E2F41;
--color-text: #B4DDF0;
--color-muted: #6A8896;
--color-primary: #4778A4;
--color-on-primary: #FFFFFF;
--color-accent: #82BFED;
--color-on-accent: #04101E;
}
}
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 #9EE1FF | adjusted for contrast · from #2E5984 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #2E5984 | adjusted for contrast · from #9EE1FF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4A7BA7 | adjusted for contrast · from #4A7BA7 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #669DCA | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.70:1 | AAA pass 4.5:1 | |
| Text on surface | 7.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 5.99:1 | AA pass 4.5:1 | |
| Primary on background | 4.36:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.24:1 | AAA pass 4.5:1 | |
| Text on surface | 12.15: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 | 9.68:1 | AAA pass 4.5:1 | |
| Primary on background | 4.09:1 | AA Large pass 3:1 | |
| Accent on background | 9.68: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 | #2E5984 (Text 1) | #4A7BA7 (Text 2) | #669DCA (Text 3) | #82BFED (Text 4) | #9EE1FF (Text 5) |
|---|---|---|---|---|---|
| #2E5984 | Same color | 1.63— | 2.52— | 3.69AA Large | 5.10AA |
| #4A7BA7 | 1.63— | Same color | 1.55— | 2.27— | 3.13AA Large |
| #669DCA | 2.52— | 1.55— | Same color | 1.47— | 2.03— |
| #82BFED | 3.69AA Large | 2.27— | 1.47— | Same color | 1.38— |
| #9EE1FF | 5.10AA | 3.13AA Large | 2.03— | 1.38— | Same color |
Shades
Shades and tints (50–950)
