Royal Blue Color #4169E1
Royal Blue color codes
#4169E1rgb(65, 105, 225)hsl(225, 72.7%, 56.9%)hsv(225, 71.1%, 88.2%)oklch(0.56 0.188 266.4)--royal-blue: #4169E1;White text is the readable choice on Royal Blue: 4.84:1.
About the name royal blue
Traditionally a deep blue; the much brighter web color of the same name comes from the X11 color list of 1987. (Wikipedia)
Royal Blue is a CSS named color: you can write royalblue instead of #4169E1 in any stylesheet. The name has no single standard value; the value shown here is the most widely cited one.
| Royal blue (traditional), College of Arms | #012169 | |
| Royal blue (dark), List of colors N-Z | #002366 |
Royal Blue shades and tints
Click a swatch to copy it. The middle swatch is the base color; steps are even in OKLCH lightness.
Colors that go with royal blue
Text contrast on royal blue
Royal Blue color palettes
From our palette collections
Royal Blue gradients
background: linear-gradient(135deg, #B3CAFF 0%, #4169E1 100%);background: linear-gradient(90deg, #4169E1 0%, #6941E1 100%);background: linear-gradient(135deg, #4169E1 0%, #E1B941 100%);Royal Blue in CSS
:root {
--royal-blue: #4169E1;
--royal-blue-rgb: 65, 105, 225;
}
.button {
background: var(--royal-blue);
color: #FFFFFF; /* 4.84:1 */
}Tailwind: bg-[#4169E1] · text-[#4169E1]
Colors similar to royal blue
Frequently asked questions
What is the hex code for royal blue?
Royal Blue is #4169E1 (the CSS color name royalblue). In RGB it is rgb(65, 105, 225) and in HSL hsl(225, 72.7%, 56.9%). The name has no single standard value; other common values are listed above.
What colors go with royal blue?
On the color wheel, royal blue (#4169E1) pairs with its complement #E1B941, its analogous colors #41B9E1 and #6941E1, and the triadic colors #E14169 and #69E141. Lighter tints and darker shades of royal blue itself also make an easy monochromatic scheme.
What text color works on royal blue?
White text is the readable choice on Royal Blue: 4.84:1. Royal Blue text on white is 4.84:1 (passes WCAG AA for normal text) and on black 4.33:1 (fails).
What is the RGB value of royal blue?
Royal Blue (#4169E1) is red 65, green 105 and blue 225: rgb(65, 105, 225).
Sources
- W3C, CSS Color Module Level 4: named colors
- Wikipedia, Royal blue (revision 1378075430); text adapted under CC BY-SA 4.0
- Cross-checked: Wikipedia 'List of colors: N–Z' (rev 1384289083), entry 'Royal blue (light)'
- RGB, HSL, OKLCH, shades, harmonies and contrast are computed with SwatchNest's tested color library. Updated 2026-11-24