PreviewingGo to this paletteOpen in generator
Code
/* Cool Steel — colorset.net */
:root {
--color-1: #4A5568;
--color-2: #5F6B7A;
--color-3: #71808C;
--color-4: #8595A1;
--color-5: #9AAAB5;
--color-bg: #F2F8FB;
--color-surface: #E9EEF2;
--color-border: #CED6DC;
--color-text: #424D5F;
--color-muted: #5E6A7E;
--color-primary: #71808C;
--color-on-primary: #000000;
--color-accent: #5F6B7A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C1015;
--color-surface: #161A20;
--color-border: #292E37;
--color-text: #9AAAB5;
--color-muted: #75848E;
--color-primary: #71808C;
--color-on-primary: #0C1015;
--color-accent: #5A6679;
--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 | adjusted for contrast · from #9AAAB5 | adjusted for contrast · from #4A5568 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4A5568 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #5F6B7A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.97:1 | AAA pass 4.5:1 | |
| Text on surface | 7.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 5.17:1 | AA pass 4.5:1 | |
| Label on accent | 5.43:1 | AA pass 4.5:1 | |
| Primary on background | 3.79:1 | AA Large pass 3:1 | |
| Accent on background | 5.06:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.99:1 | AAA pass 4.5:1 | |
| Text on surface | 7.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 5.81:1 | AA pass 4.5:1 | |
| Primary on background | 4.70:1 | AA pass 3:1 | |
| Accent on background | 3.28: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 | #4A5568 (Text 1) | #5F6B7A (Text 2) | #71808C (Text 3) | #8595A1 (Text 4) | #9AAAB5 (Text 5) |
|---|---|---|---|---|---|
| #4A5568 | Same color | 1.39— | 1.85— | 2.44— | 3.15AA Large |
| #5F6B7A | 1.39— | Same color | 1.34— | 1.76— | 2.27— |
| #71808C | 1.85— | 1.34— | Same color | 1.32— | 1.70— |
| #8595A1 | 2.44— | 1.76— | 1.32— | Same color | 1.29— |
| #9AAAB5 | 3.15AA Large | 2.27— | 1.70— | 1.29— | Same color |
Shades
Shades and tints (50–950)
