Swatchproof

Sapphire & Melon colour palette

The palette uses Sapphire and Melon.

Preview on a website Try on walls

Colour codes

ColourHEXRGBOKLCHText on it
Sapphire #0F52BArgb(15 82 186)oklch(46.7% 0.176 260.0) White (7.15:1)
Melon #FDBCB4rgb(253 188 180)oklch(85.3% 0.076 26.7) Black (13.03:1)

Contrast between the colours

No pair reaches the 4.5:1 that WCAG AA needs for body text. The strongest is Sapphire with Melon at 4.44:1, which is enough for large headings, borders and icons. Use black or white for paragraphs.

PairRatioBody text AA (4.5:1)Body text AAA (7:1)Large text and icons (3:1)
Sapphire / Melon4.44:1FailFailPass

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. With two colours, buttons use the studio defaults.

Background #FDBCB4 Melon
Text #044BB2 adjusted from Sapphire #0F52BA to reach 4.5:1
:root {
  --background: #FDBCB4;
  --text: #044BB2;
}

Preview on a dashboard