PreviewingGo to this paletteOpen in generator
Code
/* Cobalt Tide — colorset.net */
:root {
--color-1: #0047AB;
--color-2: #1E90FF;
--color-3: #4169E1;
--color-4: #6495ED;
--color-5: #87CEEB;
--color-bg: #ECF9FF;
--color-surface: #E0F1F8;
--color-border: #C4D9E2;
--color-text: #314F80;
--color-muted: #5E6C83;
--color-primary: #4169E1;
--color-on-primary: #FFFFFF;
--color-accent: #4B92AD;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #060F1E;
--color-surface: #101A2A;
--color-border: #222E42;
--color-text: #A1CADB;
--color-muted: #688794;
--color-primary: #4169E1;
--color-on-primary: #FFFFFF;
--color-accent: #1E90FF;
--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 #87CEEB | adjusted for contrast · from #0047AB |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0047AB | adjusted for contrast · from #87CEEB |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6495ED | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.64:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 4.51:1 | AA pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.95:1 | AAA pass 4.5:1 | |
| Text on surface | 9.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 5.93:1 | AA pass 4.5:1 | |
| Primary on background | 3.96:1 | AA Large pass 3:1 | |
| Accent on background | 5.93:1 | AA 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) | #4169E1 (Text 3) | #6495ED (Text 4) | #87CEEB (Text 5) |
|---|---|---|---|---|---|
| #0047AB | Same color | 2.61— | 1.74— | 2.84— | 4.84AA |
| #1E90FF | 2.61— | Same color | 1.50— | 1.09— | 1.86— |
| #4169E1 | 1.74— | 1.50— | Same color | 1.63— | 2.78— |
| #6495ED | 2.84— | 1.09— | 1.63— | Same color | 1.71— |
| #87CEEB | 4.84AA | 1.86— | 2.78— | 1.71— | Same color |
Shades
Shades and tints (50–950)
