Skip to main content

#4169E1 Royal Blue

#4169E1 is Royal Blue.

#4169E1

Royal Blue

What are the RGB, HSL, OKLCH and CMYK values of #4169E1?

HEX
#4169E1
RGB
rgb(65, 105, 225)
HSL
hsl(225, 73%, 57%)
OKLCH
oklch(56.0% 0.188 266)
CMYK
71, 53, 0, 12

#4169E1 has a contrast ratio of 4.85:1 against white and 4.33: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 → #4169E1
#4169E1
Same color
White
4.8AA
Near-black
3.6AA18

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 #4169E1 · 4.8:1

Tints and shades of #4169E1

Same hue and chroma in OKLCH, lighter to darker.

  1. #F1F5FF
  2. #C3D5FF
  3. #95B5FF
  4. #6992FF
  5. #4169E1
  6. #2F52C9
  7. #1833A8
  8. #090C88
  9. #030052

Colors that go with #4169E1

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. Royal Blue, #4169E1 and Medium Slate Blue, #8564E7; Peacock, #22AAD7 and Violet, #D387EC become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --royal-blue-1: #4169E1; /* Royal Blue */
}

Palettes, gradients and meshes with #4169E1

Items using this color or one perceptually close to it, closest first.

Palettes (1)

Gradients (4)

Mesh gradients (4)