PreviewingGo to this paletteOpen in generator
Code
/* Varsity Jacket — colorset.net */
:root {
--color-1: #4169E1;
--color-2: #FFFFFF;
--color-3: #DC143C;
--color-4: #C0C0C0;
--color-5: #000000;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #000000;
--color-muted: #4D4D4D;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #4169E1;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #000000;
--color-surface: #000000;
--color-border: #090707;
--color-text: #FFFFFF;
--color-muted: #7A7A7A;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #4169E1;
--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 2 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 2 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 1 | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 21.00:1 | AAA pass 4.5:1 | |
| Text on surface | 19.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 8.45:1 | AAA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 4.85:1 | AA pass 4.5:1 | |
| Primary on background | 4.99:1 | AA pass 3:1 | |
| Accent on background | 4.85:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 21.00:1 | AAA pass 4.5:1 | |
| Text on surface | 21.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.89:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 4.85:1 | AA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 4.33: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 | #4169E1 (Text 1) | #FFFFFF (Text 2) | #DC143C (Text 3) | #C0C0C0 (Text 4) | #000000 (Text 5) |
|---|---|---|---|---|---|
| #4169E1 | Same color | 4.85AA | 1.03— | 2.66— | 4.33AA Large |
| #FFFFFF | 4.85AA | Same color | 4.99AA | 1.82— | 21.00AAA |
| #DC143C | 1.03— | 4.99AA | Same color | 2.74— | 4.21AA Large |
| #C0C0C0 | 2.66— | 1.82— | 2.74— | Same color | 11.54AAA |
| #000000 | 4.33AA Large | 21.00AAA | 4.21AA Large | 11.54AAA | Same color |
Shades
Shades and tints (50–950)
