Sapphire & Melon colour palette
The palette uses Sapphire and Melon.
Preview on a website Try on walls
Colour codes
| Colour | HEX | RGB | OKLCH | Text on it |
|---|---|---|---|---|
| Sapphire | #0F52BA | rgb(15 82 186) | oklch(46.7% 0.176 260.0) |
White (7.15:1) |
| Melon | #FDBCB4 | rgb(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.
| Pair | Ratio | Body text AA (4.5:1) | Body text AAA (7:1) | Large text and icons (3:1) |
|---|---|---|---|---|
| Sapphire / Melon | 4.44:1 | Fail | Fail | Pass |
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;
}