Huebook

Royal Blue

Royal Blue is a dark, saturated blue color with the hex code #4169E1 (hue 225°, saturation 73%, lightness 57%). It is also the CSS named color royalblue.

#4169E1
NameHEXRGBHSLCMYKOKLCH
Royal Blue#4169E165, 105, 225225°, 73%, 57%71, 53, 0, 1256.0% 0.188 266

Contrast with white text 4.85:1, with black text 4.33:1 — use white text on Royal Blue.

royalblue is one of the 148 named colors in CSS, with exactly this value, so color: royalblue works in any browser without a hex code.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Royal Blue

Move the sliders to make Royal Blue lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Royal Blue
  • HEX#4169E1
  • RGBrgb(65 105 225)
  • HSLhsl(225 73% 57%)

Variations of Royal Blue

Text on Royal Blue

White textThe quick brown fox4.85:1 · AA pass · AAA large text only
Black textThe quick brown fox4.33:1 · AA large text only · AAA fail

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Royal Blue with color blindness

Normal #4169E1
Protanopia #0879E5
Deuteranopia #006ADF
Tritanopia #00869B

How Royal Blue appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#D3DCF8
#91A8EE
#4F74E3
#1F49C6
#153184
#0A1842

Colors that go with Royal Blue

Six color schemes built on Royal Blue with classic harmony rules. The complementary scheme pairs it with Capital Yellow (#E6BA45), the color opposite it on the color wheel.

Nearest CSS named colors

Similar medium blue colors

Questions

What is the hex code for Royal Blue?

#4169E1 — RGB 65, 105, 225, HSL 225°, 73%, 57%.

Is Royal Blue a warm or cool color?

Cool — its hue sits at 225° on the color wheel.