Pairing 02 of 27

Blue and red color palette

A blue and red color palette: dark blue #002050 (Subnautical), blue #5B9BD5 (Blue Bay) and red #ED1C24 (First Blood). 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): #002050 and #5B9BD5 (5.36:1). Does not pass: #002050 and #ED1C24 (3.62:1), #5B9BD5 and #ED1C24 (1.48:1).

Open in generator

Color values

ColorHexRGBHSLBest text on it
Subnautical#002050rgb(0 32 80)hsl(216 100% 16%)White, 15.87:1
Blue Bay#5B9BD5rgb(91 155 213)hsl(209 59% 60%)Black, 7.09:1
First Blood#ED1C24rgb(237 28 36)hsl(358 85% 52%)Black, 4.79: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
Subnautical and Blue Bay5.36:1PassFailPassBody text
Subnautical and First Blood3.62:1FailFailPassLarge text and UI
Blue Bay and First Blood1.48:1FailFailFailAccents only

How to use this palette

  • Subnautical and Blue Bay is the strongest pair at 5.36:1. It passes AA for body text but not AAA.
  • Keep Blue Bay and First Blood (1.48:1) apart. Use them as neighboring fills or accents, never as text on a background.
  • Subnautical takes white text at 15.87:1; Blue Bay takes black text at 7.09:1; First Blood takes black text at 4.79:1.
  • Lightness runs from 1569% (Subnautical) to 5961% (Blue Bay), a wide spread. Use Subnautical or Blue Bay as the page background and the other as text.
  • Subnautical 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