Candy & Cobalt colour palette
The palette uses vanilla, candy pink and cobalt blue.
Preview on a website Try on walls
Colour codes
| Colour | HEX | RGB | OKLCH | Text on it |
|---|---|---|---|---|
| vanilla P 7-1 C | #F4EDDE | rgb(244 237 222) | oklch(94.8% 0.021 85.9) |
Black (18.02:1) |
| candy pink P 76-5 C | #DA92B8 | rgb(218 146 184) | oklch(74.3% 0.099 346.9) |
Black (8.78:1) |
| cobalt blue P 104-8 C | #274D90 | rgb(39 77 144) | oklch(43.0% 0.119 260.8) |
White (8.23:1) |
Contrast between the colours
1 of 3 colour pairs pass WCAG AA for body text. The strongest is vanilla with cobalt blue at 7.06:1.
| Pair | Ratio | Body text AA (4.5:1) | Body text AAA (7:1) | Large text and icons (3:1) |
|---|---|---|---|---|
| vanilla / cobalt blue | 7.06:1 | Pass | Pass | Pass |
| candy pink / cobalt blue | 3.44:1 | Fail | Fail | Pass |
| vanilla / candy pink | 2.05:1 | Fail | Fail | Fail |
Results use the unrounded WCAG 2.2 ratio, so a pair shown as 4.50:1 can still fail. W3C contrast guidance
Use it on a website
Swatchproof puts the lightest workable colour behind the text and changes as few colours as possible to reach 4.5:1.
| Background | #F4EDDE vanilla |
|---|---|
| Text | #274D90 cobalt blue |
| Button | #DA92B8 candy pink |
| Button text | #000000 |
:root {
--background: #F4EDDE;
--text: #274D90;
--accent: #DA92B8;
--on-accent: #000000;
}