PreviewingGo to this paletteOpen in generator
Code
/* Cobalt Heel — colorset.net */
:root {
--color-1: #F7F5F2;
--color-2: #1F3FBF;
--color-3: #FF7A6B;
--color-4: #C5CCE6;
--color-5: #15192B;
--color-bg: #F7F5F2;
--color-surface: #FEFCFB;
--color-border: #E0DCD6;
--color-text: #15192B;
--color-muted: #666C83;
--color-primary: #1F3FBF;
--color-on-primary: #FFFFFF;
--color-accent: #E66456;
--color-on-accent: #15192B;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #15192B;
--color-surface: #1F2437;
--color-border: #33394F;
--color-text: #F7F5F2;
--color-muted: #92908E;
--color-primary: #3D66E8;
--color-on-primary: #FFFFFF;
--color-accent: #FF7A6B;
--color-on-accent: #15192B;
}
}
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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #1F3FBF |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF7A6B | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.00:1 | AAA pass 4.5:1 | |
| Text on surface | 17.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.78:1 | AA pass 4.5:1 | |
| Label on primary | 8.33:1 | AAA pass 4.5:1 | |
| Label on accent | 5.24:1 | AA pass 4.5:1 | |
| Primary on background | 7.65:1 | AAA pass 3:1 | |
| Accent on background | 3.05:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.00:1 | AAA pass 4.5:1 | |
| Text on surface | 14.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.48:1 | AA pass 4.5:1 | |
| Label on primary | 4.92:1 | AA pass 4.5:1 | |
| Label on accent | 6.84:1 | AA pass 4.5:1 | |
| Primary on background | 3.54:1 | AA Large pass 3:1 | |
| Accent on background | 6.84: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 | #F7F5F2 (Text 1) | #1F3FBF (Text 2) | #FF7A6B (Text 3) | #C5CCE6 (Text 4) | #15192B (Text 5) |
|---|---|---|---|---|---|
| #F7F5F2 | Same color | 7.65AAA | 2.34— | 1.47— | 16.00AAA |
| #1F3FBF | 7.65AAA | Same color | 3.27AA Large | 5.22AA | 2.09— |
| #FF7A6B | 2.34— | 3.27AA Large | Same color | 1.59— | 6.84AA |
| #C5CCE6 | 1.47— | 5.22AA | 1.59— | Same color | 10.91AAA |
| #15192B | 16.00AAA | 2.09— | 6.84AA | 10.91AAA | Same color |
Shades
Shades and tints (50–950)
