PreviewingGo to this paletteOpen in generator
Code
/* Tubular Steel — colorset.net */
:root {
--color-1: #1C1F24;
--color-2: #4C7BD9;
--color-3: #F2B134;
--color-4: #3B414B;
--color-5: #E9EBEE;
--color-bg: #E9EBEE;
--color-surface: #F1F2F4;
--color-border: #CFD3D9;
--color-text: #1C1F24;
--color-muted: #666A70;
--color-primary: #4472CF;
--color-on-primary: #FFFFFF;
--color-accent: #9D6E00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C1F24;
--color-surface: #272A2F;
--color-border: #3B4048;
--color-text: #E9EBEE;
--color-muted: #8F9193;
--color-primary: #4472CF;
--color-on-primary: #FFFFFF;
--color-accent: #F2B134;
--color-on-accent: #1C1F24;
}
}
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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4C7BD9 | adjusted for contrast · from #4C7BD9 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F2B134 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.84:1 | AAA pass 4.5:1 | |
| Text on surface | 14.75:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.55:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 4.50:1 | AA pass 4.5:1 | |
| Primary on background | 3.86:1 | AA Large pass 3:1 | |
| Accent on background | 3.77:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.84:1 | AAA pass 4.5:1 | |
| Text on surface | 12.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.22:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 8.75:1 | AAA pass 4.5:1 | |
| Primary on background | 3.58:1 | AA Large pass 3:1 | |
| Accent on background | 8.75: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 | #1C1F24 (Text 1) | #4C7BD9 (Text 2) | #F2B134 (Text 3) | #3B414B (Text 4) | #E9EBEE (Text 5) |
|---|---|---|---|---|---|
| #1C1F24 | Same color | 4.05AA Large | 8.75AAA | 1.61— | 13.84AAA |
| #4C7BD9 | 4.05AA Large | Same color | 2.16— | 2.52— | 3.42AA Large |
| #F2B134 | 8.75AAA | 2.16— | Same color | 5.44AA | 1.58— |
| #3B414B | 1.61— | 2.52— | 5.44AA | Same color | 8.60AAA |
| #E9EBEE | 13.84AAA | 3.42AA Large | 1.58— | 8.60AAA | Same color |
Shades
Shades and tints (50–950)
