Royal Blue Color

HEX #4169E1 · rgb(65, 105, 225) · hsl(225, 73%, 57%)

Royal Blue color codes

Royal Blue is one of the named colors every browser understands. In CSS you can write it as royalblue or #4169E1.

FormatValue
HEX#4169E1
RGBrgb(65, 105, 225)
HSLhsl(225, 73%, 57%)
CMYK71%, 53%, 0%, 12%
CSS nameroyalblue
.example {
  color: royalblue;
  background-color: #4169E1;
  border-color: rgb(65, 105, 225);
}

Colors that go with royal blue

These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.

#E1B941Complementary
#41B9E1Analogous
#6941E1Analogous
#E14169Triadic
#69E141Triadic

Tints and shades of royal blue

Tints mix the color with white; shades mix it with black.

#ECF0FC90% white
#D0DAF875% white
#B3C3F360% white
#97ADEF45% white
#7A96EA30% white
#5E80E615% white
#4169E1Base
Royal Blue
#3759BF15% black
#2E4A9E30% black
#243A7C45% black
#1A2A5A60% black
#101A3875% black
#070B1790% black

Contrast and readability

Black text
4.33:1
large text only
White text
4.85:1
passes AA

Use white text on royal blue. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.

Frequently asked questions

What is the hex code for royal blue?

The hex code for royal blue is #4169E1.

What is the RGB value of royal blue?

Royal Blue is rgb(65, 105, 225): 65 red, 105 green and 225 blue on a 0 to 255 scale.

What color goes with royal blue?

Its complementary color is #E1B941, which is closest to the named color goldenrod. Analogous and triadic matches are listed on this page.

Should text on royal blue be black or white?

Use white text. The contrast ratio is 4.33:1 with black and 4.85:1 with white. WCAG AA asks for at least 4.5:1 for normal text.

Similar named colors

Pick any other color with the color picker, or browse all named colors.