PreviewingGo to this paletteOpen in generator
Code
/* Cobalt Storm — colorset.net */
:root {
--color-1: #002F6C;
--color-2: #00458A;
--color-3: #005BA8;
--color-4: #0071C6;
--color-5: #0087E4;
--color-bg: #F1F8FF;
--color-surface: #E4EFFB;
--color-border: #C9D7E5;
--color-text: #11315F;
--color-muted: #5C6B82;
--color-primary: #0078CC;
--color-on-primary: #FFFFFF;
--color-accent: #00458A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #060F1E;
--color-surface: #0F1A29;
--color-border: #212E42;
--color-text: #8EA8C4;
--color-muted: #71869B;
--color-primary: #0078CC;
--color-on-primary: #FFFFFF;
--color-accent: #3B68AA;
--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 #0087E4 | adjusted for contrast · from #002F6C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #002F6C | adjusted for contrast · from #0087E4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #0071C6 | adjusted for contrast · from #0071C6 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #0071C6 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.04:1 | AAA pass 4.5:1 | |
| Text on surface | 11.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 9.47:1 | AAA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 8.84:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.81:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 5.61:1 | AA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 3.42: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 | #002F6C (Text 1) | #00458A (Text 2) | #005BA8 (Text 3) | #0071C6 (Text 4) | #0087E4 (Text 5) |
|---|---|---|---|---|---|
| #002F6C | Same color | 1.37— | 1.89— | 2.57— | 3.44AA Large |
| #00458A | 1.37— | Same color | 1.38— | 1.88— | 2.52— |
| #005BA8 | 1.89— | 1.38— | Same color | 1.36— | 1.82— |
| #0071C6 | 2.57— | 1.88— | 1.36— | Same color | 1.34— |
| #0087E4 | 3.44AA Large | 2.52— | 1.82— | 1.34— | Same color |
Shades
Shades and tints (50–950)
