PreviewingGo to this paletteOpen in generator
Code
/* Speed Blue — colorset.net */
:root {
--color-1: #0080FF;
--color-2: #FF0000;
--color-3: #FFFF00;
--color-4: #FFFFFF;
--color-5: #000000;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #000000;
--color-muted: #4D4D4D;
--color-primary: #EA0000;
--color-on-primary: #FFFFFF;
--color-accent: #0072E4;
--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: #EA0000;
--color-on-primary: #FFFFFF;
--color-accent: #0072E4;
--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 4 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF0000 | adjusted for contrast · from #FF0000 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #0080FF | adjusted for contrast · from #0080FF |
| 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.67:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 4.67:1 | AA pass 3:1 | |
| Accent on background | 4.64: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.67:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 4.50:1 | AA pass 3:1 | |
| Accent on background | 4.53: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 | #0080FF (Text 1) | #FF0000 (Text 2) | #FFFF00 (Text 3) | #FFFFFF (Text 4) | #000000 (Text 5) |
|---|---|---|---|---|---|
| #0080FF | Same color | 1.05— | 3.54AA Large | 3.80AA Large | 5.53AA |
| #FF0000 | 1.05— | Same color | 3.72AA Large | 4.00AA Large | 5.25AA |
| #FFFF00 | 3.54AA Large | 3.72AA Large | Same color | 1.07— | 19.56AAA |
| #FFFFFF | 3.80AA Large | 4.00AA Large | 1.07— | Same color | 21.00AAA |
| #000000 | 5.53AA | 5.25AA | 19.56AAA | 21.00AAA | Same color |
Shades
Shades and tints (50–950)
