Royal Blue — #4169e1

Royal Blue (#4169e1) is a medium, strong blue. It is a CSS named color, so you can use it in stylesheets as color: royalblue as well as by its hex code. In RGB it is rgb(65, 105, 225); in HSL, hsl(225, 73%, 57%).

#4169e1

Color conversions

Hex#4169e1
CSS nameroyalblue
RGBrgb(65, 105, 225)
HSLhsl(225, 73%, 57%)
CMYK71%, 53%, 0%, 12%
CSS examplecolor: #4169e1; background-color: rgb(65, 105, 225);

Tints and shades of #4169e1

The hue stepped through seven lightness levels, each matched to the closest named or web-safe color — useful for backgrounds, borders, text and hover states that all belong to one family. Click any swatch for its full breakdown.

Color schemes with #4169e1

Complementary — maximum contrast, from opposite sides of the color wheel:

Analogous — neighbours on the wheel, naturally harmonious:

Triadic — three colors evenly spaced for balanced variety:

Tetradic — four colors at 90° intervals:

Text contrast and accessibility

On a #4169e1 background, white text gives the better contrast. WCAG requires 4.5:1 for normal text and 3:1 for large text (AA), or 7:1 and 4.5:1 for AAA.

Text colorContrast ratioNormal textLarge text
White text (#ffffff)4.85:1AAAAA
Black text (#000000)4.33:1FailsAA

Similar named colors

The CSS named colors closest to #4169e1: