PreviewingGo to this paletteOpen in generator
Code
/* Chrome Grey — colorset.net */
:root {
--color-1: #E2E8F0;
--color-2: #CBD5E0;
--color-3: #A0AEC0;
--color-4: #718096;
--color-5: #4A5568;
--color-bg: #F5F7F9;
--color-surface: #ECEEF0;
--color-border: #D1D5DB;
--color-text: #455062;
--color-muted: #606C7F;
--color-primary: #718096;
--color-on-primary: #000000;
--color-accent: #444F61;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C1015;
--color-surface: #161A20;
--color-border: #292E37;
--color-text: #E2E8F0;
--color-muted: #7E848B;
--color-primary: #718096;
--color-on-primary: #0C1015;
--color-accent: #CBD5E0;
--color-on-accent: #0C1015;
}
}
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 #E2E8F0 | adjusted for contrast · from #4A5568 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4A5568 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4A5568 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.59:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 5.23:1 | AA pass 4.5:1 | |
| Label on accent | 8.28:1 | AAA pass 4.5:1 | |
| Primary on background | 3.74:1 | AA Large pass 3:1 | |
| Accent on background | 7.71:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.48:1 | AAA pass 4.5:1 | |
| Text on surface | 14.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.75:1 | AA pass 4.5:1 | |
| Label on accent | 12.84:1 | AAA pass 4.5:1 | |
| Primary on background | 4.75:1 | AA pass 3:1 | |
| Accent on background | 12.84: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 | #E2E8F0 (Text 1) | #CBD5E0 (Text 2) | #A0AEC0 (Text 3) | #718096 (Text 4) | #4A5568 (Text 5) |
|---|---|---|---|---|---|
| #E2E8F0 | Same color | 1.21— | 1.83— | 3.26AA Large | 6.10AA |
| #CBD5E0 | 1.21— | Same color | 1.52— | 2.70— | 5.06AA |
| #A0AEC0 | 1.83— | 1.52— | Same color | 1.78— | 3.34AA Large |
| #718096 | 3.26AA Large | 2.70— | 1.78— | Same color | 1.87— |
| #4A5568 | 6.10AA | 5.06AA | 3.34AA Large | 1.87— | Same color |
Shades
Shades and tints (50–950)
