PreviewingGo to this paletteOpen in generator
Code
/* Gray Steel — colorset.net */
:root {
--color-1: #696969;
--color-2: #4682B4;
--color-3: #FFD700;
--color-4: #FFFFFF;
--color-5: #000000;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #000000;
--color-muted: #4D4D4D;
--color-primary: #3D79AA;
--color-on-primary: #FFFFFF;
--color-accent: #A78C00;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #000000;
--color-surface: #000000;
--color-border: #090707;
--color-text: #FFFFFF;
--color-muted: #7A7A7A;
--color-primary: #3D79AA;
--color-on-primary: #000000;
--color-accent: #FFD700;
--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 #4682B4 | adjusted for contrast · from #4682B4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #696969 | from palette · color 3 |
| 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.65:1 | AA pass 4.5:1 | |
| Label on accent | 6.39:1 | AA pass 4.5:1 | |
| Primary on background | 4.65:1 | AA pass 3:1 | |
| Accent on background | 3.28:1 | AA Large 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.51:1 | AA pass 4.5:1 | |
| Label on accent | 14.97:1 | AAA pass 4.5:1 | |
| Primary on background | 4.51:1 | AA pass 3:1 | |
| Accent on background | 14.97: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 | #696969 (Text 1) | #4682B4 (Text 2) | #FFD700 (Text 3) | #FFFFFF (Text 4) | #000000 (Text 5) |
|---|---|---|---|---|---|
| #696969 | Same color | 1.34— | 3.91AA Large | 5.49AA | 3.83AA Large |
| #4682B4 | 1.34— | Same color | 2.93— | 4.11AA Large | 5.11AA |
| #FFD700 | 3.91AA Large | 2.93— | Same color | 1.40— | 14.97AAA |
| #FFFFFF | 5.49AA | 4.11AA Large | 1.40— | Same color | 21.00AAA |
| #000000 | 3.83AA Large | 5.11AA | 14.97AAA | 21.00AAA | Same color |
Shades
Shades and tints (50–950)
