PreviewingGo to this paletteOpen in generator
Code
/* Cobalt Deep — colorset.net */
:root {
--color-1: #001A4D;
--color-2: #002B80;
--color-3: #003CB3;
--color-4: #004DE6;
--color-5: #1A66FF;
--color-bg: #F3F7FF;
--color-surface: #E6EEFB;
--color-border: #CCD5E6;
--color-text: #031B48;
--color-muted: #5E6C83;
--color-primary: #1A66FF;
--color-on-primary: #FFFFFF;
--color-accent: #002B80;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #070F1F;
--color-surface: #10192A;
--color-border: #222E42;
--color-text: #96A7C7;
--color-muted: #74829A;
--color-primary: #1A66FF;
--color-on-primary: #FFFFFF;
--color-accent: #43659F;
--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 #1A66FF | adjusted for contrast · from #001A4D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #001A4D | adjusted for contrast · from #1A66FF |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #003CB3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.59:1 | AAA pass 4.5:1 | |
| Text on surface | 14.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.79:1 | AA pass 4.5:1 | |
| Label on accent | 12.67:1 | AAA pass 4.5:1 | |
| Primary on background | 4.46:1 | AA Large pass 3:1 | |
| Accent on background | 11.80:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.88:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.79:1 | AA pass 4.5:1 | |
| Label on accent | 5.83:1 | AA pass 4.5:1 | |
| Primary on background | 4.00:1 | AA Large pass 3:1 | |
| Accent on background | 3.28: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 | #001A4D (Text 1) | #002B80 (Text 2) | #003CB3 (Text 3) | #004DE6 (Text 4) | #1A66FF (Text 5) |
|---|---|---|---|---|---|
| #001A4D | Same color | 1.32— | 1.83— | 2.55— | 3.50AA Large |
| #002B80 | 1.32— | Same color | 1.39— | 1.93— | 2.65— |
| #003CB3 | 1.83— | 1.39— | Same color | 1.39— | 1.91— |
| #004DE6 | 2.55— | 1.93— | 1.39— | Same color | 1.37— |
| #1A66FF | 3.50AA Large | 2.65— | 1.91— | 1.37— | Same color |
Shades
Shades and tints (50–950)
