Portwine & Dory Blue colour palette
The palette uses Portwine and Dory Blue.
Preview on a website Try on walls
Colour codes
| Colour | HEX | RGB | OKLCH | Text on it |
|---|---|---|---|---|
| Portwine | #5E2129 | rgb(94 33 41) | oklch(34.2% 0.089 15.3) |
White (12.17:1) |
| Dory Blue | #1F65B3 | rgb(31 101 179) | oklch(50.6% 0.141 254.4) |
White (5.88:1) |
Contrast between the colours
No pair reaches the 4.5:1 that WCAG AA needs for body text. The strongest is Portwine with Dory Blue at 2.07:1. 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) |
|---|---|---|---|---|
| Portwine / Dory Blue | 2.07:1 | Fail | Fail | Fail |
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 | #1F65B3 Dory Blue |
|---|---|
| Text | #FFE1E2 adjusted from Portwine #5E2129 to reach 4.5:1 |
:root {
--background: #1F65B3;
--text: #FFE1E2;
}