PreviewingGo to this paletteOpen in generator
Code
/* Indigo Dye — colorset.net */
:root {
--color-1: #F3F0E8;
--color-2: #3C4F76;
--color-3: #B9733F;
--color-4: #D2CCBE;
--color-5: #1E2230;
--color-bg: #F3F0E8;
--color-surface: #F9F7F3;
--color-border: #DCD7CC;
--color-text: #1E2230;
--color-muted: #666B7C;
--color-primary: #A9642F;
--color-on-primary: #FFFFFF;
--color-accent: #3C4F76;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1E2230;
--color-surface: #292D3C;
--color-border: #3D4355;
--color-text: #F3F0E8;
--color-muted: #98958E;
--color-primary: #B9733F;
--color-on-primary: #000000;
--color-accent: #6277A1;
--color-on-accent: #000000;
}
}
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 #B9733F | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #3C4F76 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.90:1 | AAA pass 4.5:1 | |
| Text on surface | 14.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.66:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 8.16:1 | AAA pass 4.5:1 | |
| Primary on background | 4.05:1 | AA Large pass 3:1 | |
| Accent on background | 7.17:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.90:1 | AAA pass 4.5:1 | |
| Text on surface | 12.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.29:1 | AA pass 4.5:1 | |
| Label on primary | 5.59:1 | AA pass 4.5:1 | |
| Label on accent | 4.67:1 | AA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 3.52: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 | #F3F0E8 (Text 1) | #3C4F76 (Text 2) | #B9733F (Text 3) | #D2CCBE (Text 4) | #1E2230 (Text 5) |
|---|---|---|---|---|---|
| #F3F0E8 | Same color | 7.17AAA | 3.30AA Large | 1.41— | 13.90AAA |
| #3C4F76 | 7.17AAA | Same color | 2.17— | 5.10AA | 1.94— |
| #B9733F | 3.30AA Large | 2.17— | Same color | 2.35— | 4.21AA Large |
| #D2CCBE | 1.41— | 5.10AA | 2.35— | Same color | 9.89AAA |
| #1E2230 | 13.90AAA | 1.94— | 4.21AA Large | 9.89AAA | Same color |
Shades
Shades and tints (50–950)
