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.
- HEX
#4169E1 - RGB
rgb(65 105 225) - HSL
hsl(225 73% 57%) - OKLCH
oklch(56.0% 0.188 266)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Royal Blue | #4169E1 | 65, 105, 225 | 225°, 73%, 57% | 71, 53, 0, 12 | 56.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.
- HEX
#4169E1 - RGB
rgb(65 105 225) - HSL
hsl(225 73% 57%)
Variations of Royal Blue
Text on Royal Blue
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
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
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.
- Royal Blue Complementary Color Scheme#4169E1#8AADF7#E6BA45#BF961F#EBD999
- Royal Blue Analogous Color Scheme#55FFAA#4CA8E0#4169E1#6140EF#AB46EC
- Royal Blue Triadic Color Scheme#4169E1#E24666#70F15E#8AADF7#B31C45
- Royal Blue Split-complementary Color Scheme#4169E1#E36940#A7E142#1651BD#E79E88
- Royal Blue Tetradic Color Scheme#4169E1#F246A7#E6BA45#4CFF7B#8AADF7
- Royal Blue Monochromatic Color Scheme#112473#1651BD#4169E1#8F99FB#C9D1EF
Nearest CSS named colors
- Slate Blue (
slateblue): Slate Blue (#6A5ACD) is darker than Royal Blue (relative luminance 0.148 vs 0.167) and less saturated, with its hue 23° away. - Medium Slate Blue (
mediumslateblue): Medium Slate Blue (#7B68EE) is lighter than Royal Blue (relative luminance 0.203 vs 0.167) and more saturated, with its hue 24° away. - Dodger Blue (
dodgerblue): Dodger Blue (#1E90FF) is lighter than Royal Blue (relative luminance 0.274 vs 0.167) and more saturated, with its hue 15° away. - Steel Blue (
steelblue): Steel Blue (#4682B4) is lighter than Royal Blue (relative luminance 0.206 vs 0.167) and less saturated, with its hue 18° away.
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.