Pairing 21 of 27

Dark blue, white and pink color palette

A dark blue, white and pink color palette: dark blue #00008B (Midnight in Tokyo), white #FFFFFF and light pink #FF69B4 (Kisses). 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): #00008B and #FFFFFF (15.29:1), #00008B and #FF69B4 (5.77:1). Does not pass: #FFFFFF and #FF69B4 (2.64:1).

Open in generator

Color values

ColorHexRGBHSLBest text on it
Midnight in Tokyo#00008Brgb(0 0 139)hsl(240 100% 27%)White, 15.29:1
White#FFFFFFrgb(255 255 255)hsl(0 0% 100%)Black, 21.00:1
Kisses#FF69B4rgb(255 105 180)hsl(330 100% 71%)Black, 7.93: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
Midnight in Tokyo and White15.29:1PassPassPassBody text
Midnight in Tokyo and Kisses5.77:1PassFailPassBody text
White and Kisses2.64:1FailFailFailAccents only

How to use this palette

  • Midnight in Tokyo and White is the strongest pair at 15.29:1. It passes AAA, so it works for body text.
  • Keep White and Kisses (2.64:1) apart. Use them as neighboring fills or accents, never as text on a background.
  • Midnight in Tokyo takes white text at 15.29:1; White takes black text at 21.00:1; Kisses takes black text at 7.93:1.
  • Lightness runs from 2725% (Midnight in Tokyo) to 10000% (White), a wide spread. Use Midnight in Tokyo or White as the page background and the other as text.
  • Midnight in Tokyo 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