Swatchproof

Navy & Periwinkle colour palette

The palette uses navy blue, periwinkle and milk.

Preview on a website Try on walls

Colour codes

ColourHEXRGBOKLCHText on it
navy blue P 105-8 C #2E416Crgb(46 65 108)oklch(38.1% 0.078 264.9) White (10.05:1)
periwinkle P 106-3 C #A3B4D4rgb(163 180 212)oklch(76.8% 0.050 263.1) Black (10.04:1)
milk P 1-1 C #F3F0ECrgb(243 240 236)oklch(95.6% 0.006 75.4) Black (18.49:1)

Contrast between the colours

2 of 3 colour pairs pass WCAG AA for body text. The strongest is navy blue with milk at 8.85:1.

PairRatioBody text AA (4.5:1)Body text AAA (7:1)Large text and icons (3:1)
navy blue / milk8.85:1PassPassPass
navy blue / periwinkle4.80:1PassFailPass
periwinkle / milk1.84: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 #F3F0EC milk
Text #2E416C navy blue
Button #A3B4D4 periwinkle
Button text #000000
:root {
  --background: #F3F0EC;
  --text: #2E416C;
  --accent: #A3B4D4;
  --on-accent: #000000;
}

Preview on a dashboard