PreviewingGo to this paletteOpen in generator
Code
/* Storm Glass — colorset.net */
:root {
--color-1: #060C11;
--color-2: #101A21;
--color-3: #1D2D39;
--color-4: #568099;
--color-5: #C4D4DC;
--color-bg: #F3F8FA;
--color-surface: #E9EEF1;
--color-border: #CED6DB;
--color-text: #060C11;
--color-muted: #5B646A;
--color-primary: #568099;
--color-on-primary: #060C11;
--color-accent: #101A21;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #060C11;
--color-surface: #0F161B;
--color-border: #202A32;
--color-text: #C4D4DC;
--color-muted: #75838B;
--color-primary: #568099;
--color-on-primary: #060C11;
--color-accent: #5C656B;
--color-on-accent: #FFFFFF;
}
}
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 #C4D4DC | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #568099 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.36:1 | AAA pass 4.5:1 | |
| Text on surface | 16.81:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.64:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 17.62:1 | AAA pass 4.5:1 | |
| Primary on background | 3.97:1 | AA Large pass 3:1 | |
| Accent on background | 16.46:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.91:1 | AAA pass 4.5:1 | |
| Text on surface | 11.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 5.95:1 | AA pass 4.5:1 | |
| Primary on background | 4.63:1 | AA pass 3:1 | |
| Accent on background | 3.30:1 | AA Large 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 | #060C11 (Text 1) | #101A21 (Text 2) | #1D2D39 (Text 3) | #568099 (Text 4) | #C4D4DC (Text 5) |
|---|---|---|---|---|---|
| #060C11 | Same color | 1.12— | 1.39— | 4.63AA | 12.91AAA |
| #101A21 | 1.12— | Same color | 1.25— | 4.15AA Large | 11.58AAA |
| #1D2D39 | 1.39— | 1.25— | Same color | 3.33AA Large | 9.28AAA |
| #568099 | 4.63AA | 4.15AA Large | 3.33AA Large | Same color | 2.79— |
| #C4D4DC | 12.91AAA | 11.58AAA | 9.28AAA | 2.79— | Same color |
Shades
Shades and tints (50–950)
