Skip to main content

#2B4C7E Twilight Purple

The nearest named color to #2B4C7E is Twilight Purple (#4B3F72).

#2B4C7E

Twilight Purple

What are the RGB, HSL, OKLCH and CMYK values of #2B4C7E?

HEX
#2B4C7E
RGB
rgb(43, 76, 126)
HSL
hsl(216, 49%, 33%)
OKLCH
oklch(41.7% 0.093 258)
CMYK
66, 40, 0, 51

#2B4C7E has a contrast ratio of 8.61:1 against white and 2.44:1 against black, so white is the better background for text in this color and light text reads best on it.

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #2B4C7E
#2B4C7E
Same color
White
8.6AAA
Near-black
2.0Fail

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • White on #2B4C7E · 8.6:1

Tints and shades of #2B4C7E

Same hue and chroma in OKLCH, lighter to darker.

  1. #EFF6FF
  2. #BDD7FF
  3. #92B8F2
  4. #759AD2
  5. #597DB2
  6. #3E6094
  7. #2B4C7E
  8. #0B2B5A
  9. #001338

Colors that go with #2B4C7E

Six harmony rules built from this color. Open any in the Studio.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. Twilight Purple, #2B4C7E and Dark Slate Blue, #40359C become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --twilight-purple-1: #2B4C7E; /* Twilight Purple */
}

Palettes, gradients and meshes with #2B4C7E

Items using this color or one perceptually close to it, closest first (up to 24 palettes and 12 each of gradients and meshes).