Chocolate & Blues colour palette
The palette uses Chocolate Fondant, Apricot Illusion and Dress Blues.
Preview on a website Try on walls
Colour codes
| Colour | HEX | RGB | OKLCH | Text on it |
|---|---|---|---|---|
| Chocolate Fondant 19-1432 TCX | #513834 | rgb(81 56 52) | oklch(36.8% 0.037 29.1) |
White (10.69:1) |
| Apricot Illusion 14-1120 TCX | #D8C2A8 | rgb(216 194 168) | oklch(82.6% 0.043 71.8) |
Black (12.20:1) |
| Dress Blues 19-4024 TCX | #303846 | rgb(48 56 70) | oklch(33.9% 0.027 261.6) |
White (11.80:1) |
Contrast between the colours
2 of 3 colour pairs pass WCAG AA for body text. The strongest is Apricot Illusion with Dress Blues at 6.86:1.
| Pair | Ratio | Body text AA (4.5:1) | Body text AAA (7:1) | Large text and icons (3:1) |
|---|---|---|---|---|
| Apricot Illusion / Dress Blues | 6.86:1 | Pass | Fail | Pass |
| Chocolate Fondant / Apricot Illusion | 6.21:1 | Pass | Fail | Pass |
| Chocolate Fondant / Dress Blues | 1.10: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 | #D8C2A8 Apricot Illusion |
|---|---|
| Text | #513834 Chocolate Fondant |
| Button | #303846 Dress Blues |
| Button text | #FFFFFF |
:root {
--background: #D8C2A8;
--text: #513834;
--accent: #303846;
--on-accent: #FFFFFF;
}