PreviewingGo to this paletteOpen in generator
Code
/* Deep Storm Blue — colorset.net */
:root {
--color-1: #212F3C;
--color-2: #2C3E50;
--color-3: #34495E;
--color-4: #5D6D7E;
--color-5: #85929E;
--color-bg: #F3F7FB;
--color-surface: #EAEEF2;
--color-border: #CFD6DC;
--color-text: #212F3C;
--color-muted: #5C6C7B;
--color-primary: #5D6D7E;
--color-on-primary: #FFFFFF;
--color-accent: #2C3E50;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1014;
--color-surface: #151A1F;
--color-border: #272F36;
--color-text: #9AA8B4;
--color-muted: #788591;
--color-primary: #5D6D7E;
--color-on-primary: #FFFFFF;
--color-accent: #85929E;
--color-on-accent: #0B1014;
}
}
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 #85929E | adjusted for contrast · from #212F3C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #85929E |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.70:1 | AAA pass 4.5:1 | |
| Text on surface | 11.72:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.31:1 | AA pass 4.5:1 | |
| Label on accent | 10.98:1 | AAA pass 4.5:1 | |
| Primary on background | 4.93:1 | AA pass 3:1 | |
| Accent on background | 10.20:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 5.31:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 3.60:1 | AA Large pass 3:1 | |
| Accent on background | 6.01:1 | AA 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 | #212F3C (Text 1) | #2C3E50 (Text 2) | #34495E (Text 3) | #5D6D7E (Text 4) | #85929E (Text 5) |
|---|---|---|---|---|---|
| #212F3C | Same color | 1.24— | 1.47— | 2.57— | 4.30AA Large |
| #2C3E50 | 1.24— | Same color | 1.18— | 2.07— | 3.45AA Large |
| #34495E | 1.47— | 1.18— | Same color | 1.75— | 2.92— |
| #5D6D7E | 2.57— | 2.07— | 1.75— | Same color | 1.67— |
| #85929E | 4.30AA Large | 3.45AA Large | 2.92— | 1.67— | Same color |
Shades
Shades and tints (50–950)
