Pairing 10 of 27

Blue, white and red color palette

A blue, white and red color palette: blue #3B82F6 (Pool Water), white #FFFFFF and red #EF4444 (Trial by Fire). Below are the hex, RGB and HSL values, the WCAG contrast ratio for each pair, and the palette on example websites.

No pair passes WCAG AA for normal text (4.5:1). The best, #FFFFFF and #EF4444 (3.76:1), is enough for large text and UI parts only.

Open in generator

Color values

ColorHexRGBHSLBest text on it
Pool Water#3B82F6rgb(59 130 246)hsl(217 91% 60%)Black, 5.70:1
White#FFFFFFrgb(255 255 255)hsl(0 0% 100%)Black, 21.00:1
Trial by Fire#EF4444rgb(239 68 68)hsl(0 84% 60%)Black, 5.58:1

Contrast ratios

WCAG 2 contrast between each pair of colors. Normal text needs 4.5:1 for AA and 7:1 for AAA. Large text (18 pt, or 14 pt bold) and UI parts need 3:1 for AA.

PairRatioAA textAAA textAA largeUse
Pool Water and White3.67:1FailFailPassLarge text and UI
Pool Water and Trial by Fire1.02:1FailFailFailAccents only
White and Trial by Fire3.76:1FailFailPassLarge text and UI

How to use this palette

  • The strongest pair, White and Trial by Fire, reaches 3.76:1. That is enough for headings (18 pt or 14 pt bold) and UI parts such as icons and borders, but not for body text.
  • Keep Pool Water and Trial by Fire (1.02:1) apart. Use them as neighboring fills or accents, never as text on a background.
  • Pool Water takes black text at 5.70:1; White takes black text at 21.00:1; Trial by Fire takes black text at 5.58:1.
  • Lightness runs from 5980% (Pool Water) to 10000% (White), a wide spread. Use Pool Water or White as the page background and the other as text.
  • Pool Water is the most saturated (9122%) and very light, so it suits the accent: buttons, links and one-off highlights.

Preview on example websites

The same three colors on made-up sites. The first color is the base, the second supports it in panels and photos, and the third is the accent. Switch the template with the arrows, turn the accent off, or swap the roles.

Product launch