Pairing 27 of 27

Blue, white and red color palette (#23538E)

A blue, white and red color palette: blue #23538E (Nightly Activities), white #F8F8F8 (Doctor) and red #FF6B4A (Halloween). Below are the hex, RGB and HSL values, the WCAG contrast ratio for each pair, and the palette on example websites.

Passes WCAG AA for normal text (4.5:1): #23538E and #F8F8F8 (7.32:1). Does not pass: #23538E and #FF6B4A (2.76:1), #F8F8F8 and #FF6B4A (2.65:1).

Open in generator

Color values

ColorHexRGBHSLBest text on it
Nightly Activities#23538Ergb(35 83 142)hsl(213 60% 35%)White, 7.77:1
Doctor#F8F8F8rgb(248 248 248)hsl(0 0% 97%)Black, 19.77:1
Halloween#FF6B4Argb(255 107 74)hsl(11 100% 65%)Black, 7.45: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
Nightly Activities and Doctor7.32:1PassPassPassBody text
Nightly Activities and Halloween2.76:1FailFailFailAccents only
Doctor and Halloween2.65:1FailFailFailAccents only

How to use this palette

  • Nightly Activities and Doctor is the strongest pair at 7.32:1. It passes AAA, so it works for body text.
  • Keep Doctor and Halloween (2.65:1) apart. Use them as neighboring fills or accents, never as text on a background.
  • Nightly Activities takes white text at 7.77:1; Doctor takes black text at 19.77:1; Halloween takes black text at 7.45:1.
  • Lightness runs from 3471% (Nightly Activities) to 9725% (Doctor), a wide spread. Use Nightly Activities or Doctor as the page background and the other as text.
  • Halloween is the most saturated (10000%) 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