PreviewingGo to this paletteOpen in generator
Code
/* Steel Blue — colorset.net */
:root {
--color-1: #2F4F4F;
--color-2: #708090;
--color-3: #778899;
--color-4: #B0C4DE;
--color-5: #E6E6FA;
--color-bg: #E6E6FA;
--color-surface: #EEEEFA;
--color-border: #CDCDE4;
--color-text: #2F4F4F;
--color-muted: #4E6E6E;
--color-primary: #708090;
--color-on-primary: #000000;
--color-accent: #434F5C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071111;
--color-surface: #111C1C;
--color-border: #223131;
--color-text: #E6E6FA;
--color-muted: #828294;
--color-primary: #708090;
--color-on-primary: #071111;
--color-accent: #B0C4DE;
--color-on-accent: #071111;
}
}
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 | adjusted for contrast · from #2F4F4F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2F4F4F | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.25:1 | AAA pass 4.5:1 | |
| Text on surface | 7.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.51:1 | AA pass 4.5:1 | |
| Label on primary | 5.18:1 | AA pass 4.5:1 | |
| Label on accent | 8.36:1 | AAA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 6.79:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.55:1 | AAA pass 4.5:1 | |
| Text on surface | 14.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.72:1 | AA pass 4.5:1 | |
| Label on accent | 10.75:1 | AAA pass 4.5:1 | |
| Primary on background | 4.72:1 | AA pass 3:1 | |
| Accent on background | 10.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 | #2F4F4F (Text 1) | #708090 (Text 2) | #778899 (Text 3) | #B0C4DE (Text 4) | #E6E6FA (Text 5) |
|---|---|---|---|---|---|
| #2F4F4F | Same color | 2.20— | 2.45— | 5.02AA | 7.25AAA |
| #708090 | 2.20— | Same color | 1.11— | 2.28— | 3.29AA Large |
| #778899 | 2.45— | 1.11— | Same color | 2.05— | 2.96— |
| #B0C4DE | 5.02AA | 2.28— | 2.05— | Same color | 1.45— |
| #E6E6FA | 7.25AAA | 3.29AA Large | 2.96— | 1.45— | Same color |
Shades
Shades and tints (50–950)
