PreviewingGo to this paletteOpen in generator
Code
/* Rust Denim — colorset.net */
:root {
--color-1: #EAEFF5;
--color-2: #C65D26;
--color-3: #9CC2EA;
--color-4: #234877;
--color-5: #141B24;
--color-bg: #EAEFF5;
--color-surface: #F3F6FA;
--color-border: #CFD7E0;
--color-text: #141B24;
--color-muted: #636C77;
--color-primary: #BF571E;
--color-on-primary: #FFFFFF;
--color-accent: #234877;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #141B24;
--color-surface: #1E262F;
--color-border: #313B48;
--color-text: #EAEFF5;
--color-muted: #898E93;
--color-primary: #BF571E;
--color-on-primary: #FFFFFF;
--color-accent: #4A70A2;
--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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C65D26 | adjusted for contrast · from #C65D26 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #234877 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.99:1 | AAA pass 4.5:1 | |
| Text on surface | 15.98:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.61:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 9.27:1 | AAA pass 4.5:1 | |
| Primary on background | 3.95:1 | AA Large pass 3:1 | |
| Accent on background | 8.02:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.99:1 | AAA pass 4.5:1 | |
| Text on surface | 13.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.24:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 5.08:1 | AA pass 4.5:1 | |
| Primary on background | 3.79:1 | AA Large pass 3:1 | |
| Accent on background | 3.41: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 | #EAEFF5 (Text 1) | #C65D26 (Text 2) | #9CC2EA (Text 3) | #234877 (Text 4) | #141B24 (Text 5) |
|---|---|---|---|---|---|
| #EAEFF5 | Same color | 3.64AA Large | 1.60— | 8.02AAA | 14.99AAA |
| #C65D26 | 3.64AA Large | Same color | 2.27— | 2.21— | 4.12AA Large |
| #9CC2EA | 1.60— | 2.27— | Same color | 5.00AA | 9.34AAA |
| #234877 | 8.02AAA | 2.21— | 5.00AA | Same color | 1.87— |
| #141B24 | 14.99AAA | 4.12AA Large | 9.34AAA | 1.87— | Same color |
Shades
Shades and tints (50–950)
