Swatchproof

Chocolate & Blues colour palette

The palette uses Chocolate Fondant, Apricot Illusion and Dress Blues.

Preview on a website Try on walls

Colour codes

ColourHEXRGBOKLCHText on it
Chocolate Fondant 19-1432 TCX #513834rgb(81 56 52)oklch(36.8% 0.037 29.1) White (10.69:1)
Apricot Illusion 14-1120 TCX #D8C2A8rgb(216 194 168)oklch(82.6% 0.043 71.8) Black (12.20:1)
Dress Blues 19-4024 TCX #303846rgb(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.

PairRatioBody text AA (4.5:1)Body text AAA (7:1)Large text and icons (3:1)
Apricot Illusion / Dress Blues6.86:1PassFailPass
Chocolate Fondant / Apricot Illusion6.21:1PassFailPass
Chocolate Fondant / Dress Blues1.10:1FailFailFail

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;
}

Preview on a dashboard