#4169E1 color (royalblue)

#4169E1 is rgb(65, 105, 225) in RGB and hsl(225, 73%, 57%) in HSL. It is exactly the CSS color royalblue. Use white text on it (contrast 4.85:1).

#4169E1royalblue
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%)
CIELAB (D65)lab(47.8 26.3 -65.3)

Edit in the color converter → · Check contrast → · Shades →

About #4169E1

#4169E1 is a medium, saturated blue with a hue angle of 225°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 225 (88%) and red the weakest at 65 (25%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

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%)
CIELAB (D65)lab(47.8 26.3 -65.3)
Decimal4286945
Binary01000001 01101001 11100001

HEX 41 69 E1 → 65, 105, 225 (each pair is a base-16 number: 4×16 + 1 = 65)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #4169E1

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #4169E1RatioAA normalAA largeAAA normalAAA large
White text4.85:1PassPassFailPass
Black text4.33:1FailPassFailFail
White text on #4169E1
Black text on #4169E1
#4169E1 text on white
#4169E1 text on black

Relative luminance is 0.1666 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#0879e5

Deuteranopia
#006adf

Tritanopia
#00869b

Achromatopsia
#717171

People with red–green color blindness see this color almost unchanged (ΔE 4.4 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
royalblue#4169e10
slateblue#6a5acd9.1
mediumslateblue#7b68ee9.5
steelblue#4682b410.5

CSS

.element {
  color: #4169e1;
  background-color: rgb(65, 105, 225);
  border: 1px solid hsl(225, 73%, 57%);
  box-shadow: 0 2px 8px rgb(65 105 225 / 50%);
}
:root { --brand: #4169e1; }

Frequently asked questions

What color is #4169E1?
A medium saturated blue in the blue family. Closest CSS name: royalblue.
What is #4169E1 in RGB?
rgb(65, 105, 225): red 65, green 105, blue 225.
What is the complementary color of #4169E1?
#E1B941, found by rotating the hue 180°.