PreviewingGo to this paletteOpen in generator
Code
/* Cobalt Bright — colorset.net */
:root {
--color-1: #0047AB;
--color-2: #0066CC;
--color-3: #0080FF;
--color-4: #3399FF;
--color-5: #66B2FF;
--color-bg: #F1F8FF;
--color-surface: #E4EFFB;
--color-border: #C9D7E5;
--color-text: #314F80;
--color-muted: #5E6C83;
--color-primary: #0072E4;
--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: #96B0CC;
--color-muted: #708499;
--color-primary: #0072E4;
--color-on-primary: #FFFFFF;
--color-accent: #66B2FF;
--color-on-accent: #060F1E;
}
}
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 #66B2FF | adjusted for contrast · from #0047AB |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0047AB | adjusted for contrast · from #66B2FF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #0066CC | adjusted for contrast · from #0066CC |
| On primary | derived | derived |
| Accent | from palette · color 1 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.66: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.33:1 | AA Large pass 3:1 | |
| Accent on background | 7.88:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.57:1 | AAA pass 4.5:1 | |
| Text on surface | 7.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 8.56:1 | AAA pass 4.5:1 | |
| Primary on background | 4.14:1 | AA Large pass 3:1 | |
| Accent on background | 8.56: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 | #0047AB (Text 1) | #0066CC (Text 2) | #0080FF (Text 3) | #3399FF (Text 4) | #66B2FF (Text 5) |
|---|---|---|---|---|---|
| #0047AB | Same color | 1.52— | 2.22— | 2.87— | 3.77AA Large |
| #0066CC | 1.52— | Same color | 1.47— | 1.89— | 2.49— |
| #0080FF | 2.22— | 1.47— | Same color | 1.29— | 1.70— |
| #3399FF | 2.87— | 1.89— | 1.29— | Same color | 1.31— |
| #66B2FF | 3.77AA Large | 2.49— | 1.70— | 1.31— | Same color |
Shades
Shades and tints (50–950)
