Pairing 16 of 27

Gray, blue and orange color palette

A gray, blue and orange color palette: dark gray #212121 (Lead), blue #4169E1 (Royal Blue) and orange #F28500 (À l’Orange). 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): #212121 and #F28500 (6.23:1). Does not pass: #212121 and #4169E1 (3.32:1), #4169E1 and #F28500 (1.87:1).

Open in generator

Color values

ColorHexRGBHSLBest text on it
Lead#212121rgb(33 33 33)hsl(0 0% 13%)White, 16.10:1
Royal Blue#4169E1rgb(65 105 225)hsl(225 73% 57%)White, 4.84:1
À l’Orange#F28500rgb(242 133 0)hsl(33 100% 47%)Black, 8.13: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
Lead and Royal Blue3.32:1FailFailPassLarge text and UI
Lead and À l’Orange6.23:1PassFailPassBody text
Royal Blue and À l’Orange1.87:1FailFailFailAccents only

How to use this palette

  • Lead and À l’Orange is the strongest pair at 6.23:1. It passes AA for body text but not AAA.
  • Keep Royal Blue and À l’Orange (1.87:1) apart. Use them as neighboring fills or accents, never as text on a background.
  • Lead takes white text at 16.10:1; Royal Blue takes white text at 4.84:1; À l’Orange takes black text at 8.13:1.
  • Lightness runs from 1294% (Lead) to 5686% (Royal Blue), a wide spread. Use Lead or Royal Blue as the page background and the other as text.
  • À l’Orange 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