Swatchproof

Pantone P 3-9 C, P 104-8 C & P 73-7 C colour palette

The palette uses Ivory, Cobalt Blue and Scarlet.

Preview on a website Try on walls

Colour codes

ColourHEXRGBOKLCHText on it
Ivory #F1EEDBrgb(241 238 219)oklch(94.6% 0.025 99.5) Black (17.99:1)
Cobalt Blue #214E92rgb(33 78 146)oklch(43.1% 0.123 258.7) White (8.17:1)
Scarlet #D83E7Frgb(216 62 127)oklch(60.6% 0.197 359.2) Black (4.92:1)

Contrast between the colours

1 of 3 colour pairs pass WCAG AA for body text. The strongest is Ivory with Cobalt Blue at 7.00:1.

PairRatioBody text AA (4.5:1)Body text AAA (7:1)Large text and icons (3:1)
Ivory / Cobalt Blue7.00:1PassPassPass
Ivory / Scarlet3.66:1FailFailPass
Cobalt Blue / Scarlet1.91: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 #F1EEDB Ivory
Text #214E92 Cobalt Blue
Button #D83E7F Scarlet
Button text #000000
:root {
  --background: #F1EEDB;
  --text: #214E92;
  --accent: #D83E7F;
  --on-accent: #000000;
}

Preview on a dashboard