Royal Blue color: hex code #4169E1

#4169E1 rgb(65, 105, 225)
Shades of blue

Royal Blue has the hex code #4169E1. It is a moderate blue.

In the RGB color model it is made of 25.5% red, 41.2% green and 88.2% blue (65, 105, 225).

Its hue angle is 225°, with 73% saturation and 57% lightness. For print, the CMYK equivalent is 71% cyan, 53% magenta, 0% yellow and 12% black.

You can use it in CSS with the keyword royalblue.

White text is the more readable choice on this background (contrast 4.85:1).

Royal Blue (#4169E1) color codes

HEX#4169E1
RGBrgb(65, 105, 225)
RGB percentrgb(25.5%, 41.2%, 88.2%)
HSLhsl(225, 73%, 57%)
HSV / HSBhsv(225, 71%, 88%)
CMYKcmyk(71%, 53%, 0%, 12%)
CIE LABlab(47.83, 26.26, -65.26)
CIE LCHlch(47.83, 70.35, 291.92)
CIE XYZxyz(20.817, 16.661, 73.338)
Decimal4286945
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Royal Blue, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #4169E1RatioAAAAAAA large
Sample text4.33:1FailFailPass
Sample text4.85:1PassFailPass
#4169E1 as text onRatioAAAAAAA large
Sample text4.85:1PassFailPass
Sample text4.33:1FailFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #4169E1 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #4169e1; }
.text { color: #4169e1; }
.border { border: 2px solid #4169e1; }
.transparent { background-color: rgb(65 105 225 / 50%); }
.gradient { background: linear-gradient(to right, #4169e1, #6941e1); }
Background
Text color
Border

Similar colors

See #4169E1 on its hex code page

Questions

What color is #4169E1?
#4169E1 is a moderate blue known as Royal Blue. It belongs to the blue family of colors.
What is the RGB value of Royal Blue?
The RGB value is 65, 105, 225: 65 red, 105 green and 225 blue on a 0 to 255 scale.
What is the complementary color of Royal Blue?
The complementary color is #E1B941, found by rotating the hue 180° on the color wheel.
Is black or white text better on #4169E1?
White text. Black text has a contrast ratio of 4.33:1 and white text 4.85:1. WCAG asks for at least 4.5:1 for normal text.