PreviewingGo to this paletteOpen in generator
Code
/* Indie Blue — colorset.net */
:root {
--color-1: #F1F8FD;
--color-2: #2971C6;
--color-3: #EA7CA1;
--color-4: #9EC3E2;
--color-5: #0E2440;
--color-bg: #F1F8FD;
--color-surface: #E8EFF4;
--color-border: #CCD7DE;
--color-text: #0E2440;
--color-muted: #5D6D83;
--color-primary: #2971C6;
--color-on-primary: #FFFFFF;
--color-accent: #D2668C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E2440;
--color-surface: #192F4C;
--color-border: #36465A;
--color-text: #F1F8FD;
--color-muted: #91989C;
--color-primary: #337AD0;
--color-on-primary: #000000;
--color-accent: #EA7CA1;
--color-on-accent: #0E2440;
}
}
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 | from palette · color 2 | adjusted for contrast · from #2971C6 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #EA7CA1 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.56:1 | AAA pass 4.5:1 | |
| Text on surface | 13.44:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.92:1 | AA pass 4.5:1 | |
| Label on accent | 6.02:1 | AA pass 4.5:1 | |
| Primary on background | 4.58:1 | AA pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.56:1 | AAA pass 4.5:1 | |
| Text on surface | 12.62:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.33:1 | AA pass 4.5:1 | |
| Label on primary | 4.84:1 | AA pass 4.5:1 | |
| Label on accent | 5.87:1 | AA pass 4.5:1 | |
| Primary on background | 3.59:1 | AA Large pass 3:1 | |
| Accent on background | 5.87:1 | AA 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 | #F1F8FD (Text 1) | #2971C6 (Text 2) | #EA7CA1 (Text 3) | #9EC3E2 (Text 4) | #0E2440 (Text 5) |
|---|---|---|---|---|---|
| #F1F8FD | Same color | 4.58AA | 2.48— | 1.72— | 14.56AAA |
| #2971C6 | 4.58AA | Same color | 1.85— | 2.66— | 3.18AA Large |
| #EA7CA1 | 2.48— | 1.85— | Same color | 1.44— | 5.87AA |
| #9EC3E2 | 1.72— | 2.66— | 1.44— | Same color | 8.44AAA |
| #0E2440 | 14.56AAA | 3.18AA Large | 5.87AA | 8.44AAA | Same color |
Shades
Shades and tints (50–950)
