royalblue (#4169E1)

royalblue is a CSS named color with the hex code #4169E1, rgb(65, 105, 225). It is a medium, saturated blue.

royalblue#4169E1
Keywordroyalblue
HEX#4169e1
RGBrgb(65, 105, 225)
HSLhsl(225, 73%, 57%)

Full #4169E1 details: palettes, shades, color-blind view →

Description

Royalblue (read as "royal blue") has a hue of 225°, saturation 73% and lightness 57%, which places it in the blue family. Its strongest channel is blue (225).

Using royalblue in CSS

.title { color: royalblue; }
.box   { background: royalblue; border-color: #4169e1; }
.soft  { background: rgb(65 105 225 / 20%); }   /* royalblue at 20% opacity */

Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.

Similar named colors

ColorHEXRGBΔE 2000
slateblue#6a5acd106, 90, 2059.1
mediumslateblue#7b68ee123, 104, 2389.5
steelblue#4682b470, 130, 18010.5
slategray#708090112, 128, 14413.6
mediumpurple#9370db147, 112, 21914.4
cornflowerblue#6495ed100, 149, 23714.6
lightslategray#778899119, 136, 15314.6
dodgerblue#1e90ff30, 144, 25514.9

ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.

Pairs well with

Readability

Contrast with white text: 4.85:1; with black text: 4.33:1. White body text on royalblue meets WCAG AA.

Frequently asked questions

What is the hex code for royalblue?
#4169E1.
What colors are similar to royalblue?
slateblue (#6a5acd), mediumslateblue (#7b68ee), steelblue (#4682b4).