PreviewingGo to this paletteOpen in generator
Code
/* Red Blue — colorset.net */
:root {
--color-1: #8B0000;
--color-2: #B22222;
--color-3: #87CEEB;
--color-4: #B0E0E6;
--color-5: #F0F8FF;
--color-bg: #F0F8FF;
--color-surface: #E7EFF6;
--color-border: #CCD6E0;
--color-text: #70322A;
--color-muted: #82645F;
--color-primary: #B22222;
--color-on-primary: #FFFFFF;
--color-accent: #4B92AD;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402622;
--color-text: #F0F8FF;
--color-muted: #858C93;
--color-primary: #BD2E2B;
--color-on-primary: #FFFFFF;
--color-accent: #87CEEB;
--color-on-accent: #1C0907;
}
}
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 5 | adjusted for contrast · from #8B0000 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B0000 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #B22222 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #87CEEB | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.99:1 | AAA pass 4.5:1 | |
| Text on surface | 8.30:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 6.68:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 6.22:1 | AA pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.93:1 | AAA pass 4.5:1 | |
| Text on surface | 16.44:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.65:1 | AA pass 4.5:1 | |
| Label on primary | 5.85:1 | AA pass 4.5:1 | |
| Label on accent | 11.05:1 | AAA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 11.05:1 | AAA 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 | #8B0000 (Text 1) | #B22222 (Text 2) | #87CEEB (Text 3) | #B0E0E6 (Text 4) | #F0F8FF (Text 5) |
|---|---|---|---|---|---|
| #8B0000 | Same color | 1.50— | 5.75AA | 6.98AA | 9.33AAA |
| #B22222 | 1.50— | Same color | 3.83AA Large | 4.66AA | 6.22AA |
| #87CEEB | 5.75AA | 3.83AA Large | Same color | 1.22— | 1.62— |
| #B0E0E6 | 6.98AA | 4.66AA | 1.22— | Same color | 1.34— |
| #F0F8FF | 9.33AAA | 6.22AA | 1.62— | 1.34— | Same color |
Shades
Shades and tints (50–950)
