PreviewingGo to this paletteOpen in generator
Code
/* Blue Gray — colorset.net */
:root {
--color-1: #2F4F4F;
--color-2: #87CEEB;
--color-3: #FF4500;
--color-4: #696969;
--color-5: #B0E0E6;
--color-bg: #ECFAFC;
--color-surface: #E3F1F2;
--color-border: #C7D9DB;
--color-text: #2F4F4F;
--color-muted: #507171;
--color-primary: #DC3A00;
--color-on-primary: #FFFFFF;
--color-accent: #4B92AD;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071111;
--color-surface: #111C1C;
--color-border: #223131;
--color-text: #B0E0E6;
--color-muted: #678A8F;
--color-primary: #FF4500;
--color-on-primary: #071111;
--color-accent: #87CEEB;
--color-on-accent: #071111;
}
}
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 | adjusted for contrast · from #B0E0E6 | adjusted for contrast · from #2F4F4F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF4500 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #696969 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.35:1 | AAA pass 4.5:1 | |
| Text on surface | 7.71:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.35:1 | AAA pass 4.5:1 | |
| Text on surface | 12.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 5.56:1 | AA pass 4.5:1 | |
| Label on accent | 10.99:1 | AAA pass 4.5:1 | |
| Primary on background | 5.56:1 | AA pass 3:1 | |
| Accent on background | 10.99: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 | #2F4F4F (Text 1) | #87CEEB (Text 2) | #FF4500 (Text 3) | #696969 (Text 4) | #B0E0E6 (Text 5) |
|---|---|---|---|---|---|
| #2F4F4F | Same color | 5.13AA | 2.59— | 1.63— | 6.23AA |
| #87CEEB | 5.13AA | Same color | 1.98— | 3.15AA Large | 1.22— |
| #FF4500 | 2.59— | 1.98— | Same color | 1.60— | 2.40— |
| #696969 | 1.63— | 3.15AA Large | 1.60— | Same color | 3.83AA Large |
| #B0E0E6 | 6.23AA | 1.22— | 2.40— | 3.83AA Large | Same color |
Shades
Shades and tints (50–950)
