PreviewingGo to this paletteOpen in generator
Code
/* Cobalt Voltage — colorset.net */
:root {
--color-1: #4169E1;
--color-2: #0000FF;
--color-3: #0080FF;
--color-4: #1E90FF;
--color-5: #00BFFF;
--color-bg: #EEF9FF;
--color-surface: #E1F0F9;
--color-border: #C5D8E3;
--color-text: #344C7F;
--color-muted: #5E6A82;
--color-primary: #0000FF;
--color-on-primary: #FFFFFF;
--color-accent: #007EA9;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #242E42;
--color-text: #90B6CA;
--color-muted: #6B8897;
--color-primary: #1653FF;
--color-on-primary: #FFFFFF;
--color-accent: #00BFFF;
--color-on-accent: #080F1F;
}
}
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 #00BFFF | adjusted for contrast · from #0000FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4169E1 | adjusted for contrast · from #00BFFF |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #4169E1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4169E1 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.90:1 | AAA pass 4.5:1 | |
| Text on surface | 7.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 8.59:1 | AAA pass 4.5:1 | |
| Label on accent | 4.61:1 | AA pass 4.5:1 | |
| Primary on background | 8.03:1 | AAA pass 3:1 | |
| Accent on background | 4.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.86:1 | AAA pass 4.5:1 | |
| Text on surface | 8.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 5.65:1 | AA pass 4.5:1 | |
| Label on accent | 9.01:1 | AAA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 9.01: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 | #4169E1 (Text 1) | #0000FF (Text 2) | #0080FF (Text 3) | #1E90FF (Text 4) | #00BFFF (Text 5) |
|---|---|---|---|---|---|
| #4169E1 | Same color | 1.77— | 1.28— | 1.50— | 2.28— |
| #0000FF | 1.77— | Same color | 2.26— | 2.65— | 4.05AA Large |
| #0080FF | 1.28— | 2.26— | Same color | 1.17— | 1.79— |
| #1E90FF | 1.50— | 2.65— | 1.17— | Same color | 1.53— |
| #00BFFF | 2.28— | 4.05AA Large | 1.79— | 1.53— | Same color |
Shades
Shades and tints (50–950)
