PreviewingGo to this paletteOpen in generator
Code
/* Cobalt Sky — colorset.net */
:root {
--color-1: #0047AB;
--color-2: #1E90FF;
--color-3: #3399FF;
--color-4: #4DB8FF;
--color-5: #80D0FF;
--color-bg: #EEF9FF;
--color-surface: #E1F0F9;
--color-border: #C6D8E3;
--color-text: #314F80;
--color-muted: #5E6C83;
--color-primary: #0075D7;
--color-on-primary: #FFFFFF;
--color-accent: #0047AB;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #060F1E;
--color-surface: #101A2A;
--color-border: #222E42;
--color-text: #A7CBE2;
--color-muted: #6C8798;
--color-primary: #1E90FF;
--color-on-primary: #060F1E;
--color-accent: #2363C9;
--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 #80D0FF | adjusted for contrast · from #0047AB |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0047AB | adjusted for contrast · from #80D0FF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #1E90FF | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #0047AB |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 8.44:1 | AAA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 7.89:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.22:1 | AAA pass 4.5:1 | |
| Text on surface | 10.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 5.93:1 | AA pass 4.5:1 | |
| Label on accent | 5.68:1 | AA pass 4.5:1 | |
| Primary on background | 5.93:1 | AA pass 3:1 | |
| Accent on background | 3.38: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 | #0047AB (Text 1) | #1E90FF (Text 2) | #3399FF (Text 3) | #4DB8FF (Text 4) | #80D0FF (Text 5) |
|---|---|---|---|---|---|
| #0047AB | Same color | 2.61— | 2.87— | 3.86AA Large | 4.97AA |
| #1E90FF | 2.61— | Same color | 1.10— | 1.48— | 1.91— |
| #3399FF | 2.87— | 1.10— | Same color | 1.35— | 1.73— |
| #4DB8FF | 3.86AA Large | 1.48— | 1.35— | Same color | 1.29— |
| #80D0FF | 4.97AA | 1.91— | 1.73— | 1.29— | Same color |
Shades
Shades and tints (50–950)
