PreviewingGo to this paletteOpen in generator
Code
/* Frosted Steel — colorset.net */
:root {
--color-1: #F8FAFC;
--color-2: #F1F5F9;
--color-3: #E2E8F0;
--color-4: #CBD5E1;
--color-5: #94A3B8;
--color-bg: #F8FAFC;
--color-surface: #EFF1F3;
--color-border: #D4D8DD;
--color-text: #445163;
--color-muted: #606E81;
--color-primary: #7C8B9F;
--color-on-primary: #000000;
--color-accent: #4E5A69;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1016;
--color-surface: #151A20;
--color-border: #282E37;
--color-text: #F8FAFC;
--color-muted: #8B8D8F;
--color-primary: #94A3B8;
--color-on-primary: #0B1016;
--color-accent: #E2E8F0;
--color-on-accent: #0B1016;
}
}
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 1 | adjusted for contrast · from #94A3B8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #94A3B8 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #94A3B8 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #94A3B8 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 6.05:1 | AA pass 4.5:1 | |
| Label on accent | 7.02:1 | AAA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 6.71:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.25:1 | AAA pass 4.5:1 | |
| Text on surface | 16.72:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.73:1 | AA pass 4.5:1 | |
| Label on primary | 7.45:1 | AAA pass 4.5:1 | |
| Label on accent | 15.49:1 | AAA pass 4.5:1 | |
| Primary on background | 7.45:1 | AAA pass 3:1 | |
| Accent on background | 15.49: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 | #F8FAFC (Text 1) | #F1F5F9 (Text 2) | #E2E8F0 (Text 3) | #CBD5E1 (Text 4) | #94A3B8 (Text 5) |
|---|---|---|---|---|---|
| #F8FAFC | Same color | 1.05— | 1.18— | 1.42— | 2.45— |
| #F1F5F9 | 1.05— | Same color | 1.13— | 1.36— | 2.34— |
| #E2E8F0 | 1.18— | 1.13— | Same color | 1.20— | 2.08— |
| #CBD5E1 | 1.42— | 1.36— | 1.20— | Same color | 1.73— |
| #94A3B8 | 2.45— | 2.34— | 2.08— | 1.73— | Same color |
Shades
Shades and tints (50–950)
