Royal Blue
#4169E1rgb(65, 105, 225)hsl(225, 73%, 57%)
Royal Blue is #4169E1, rgb(65, 105, 225).
In CSS: royalblue
Colors that go with Royal Blue
Complementary
Analogous
Triadic
1 of 2 backgrounds pass AA
- On whitePass4.85 : 1
- On ink blackFail3.95 : 1
About Royal Blue
Royal Blue is the hex color #4169E1, which translates to rgb(65, 105, 225) in RGB and hsl(225, 73%, 57%) in HSL. On the color wheel it sits at 225 degrees, with a saturation of 73 percent and a lightness of 57 percent. That combination gives Royal Blue a saturated mid tone: strong enough for buttons and links, still calm enough for larger areas.
How Royal Blue compares
Royal Blue is exactly the CSS keyword royalblue, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is blue-500 (#2B7FFF), at a distance of 10.2. Inside this library the closest neighbour is Cobalt at 9.9. Sorted by lightness, Royal Blue is number 22 of the 30 blue colors here.
Text on Royal Blue
One of the five common text colors below clears WCAG AA for normal text on Royal Blue, led by White at 4.85:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Royal Blue already loaded as the background.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 4.85:1 | Pass | Pass | Fail |
| Ink black #0F0F12 | 3.95:1 | Fail | Pass | Fail |
| Mid grey #6B7280 | 1.00:1 | Fail | Fail | Fail |
| Dark grey #374151 | 2.13:1 | Fail | Fail | Fail |
| Light grey #E5E7EB | 3.91:1 | Fail | Pass | Fail |
Building a palette around Royal Blue
The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Royal Blue for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color, or open the palette generator with Royal Blue locked and let it fill in the rest.
Full values for Royal Blue
| Format | Value |
|---|---|
| HEX | #4169E1 |
| RGB | rgb(65, 105, 225) |
| HSL | hsl(225, 73%, 57%) |
| HSV | hsv(225, 71%, 88%) |
| CMYK | cmyk(71%, 53%, 0%, 12%) |
| OKLCH | oklch(55.98% 0.1882 266.40) |
| CIELAB | lab(47.83 26.26 -65.26) |
Frequently asked questions
What is the RGB value of Royal Blue?
Royal Blue (#4169E1) is rgb(65, 105, 225): 65 red, 105 green and 225 blue on the 0 to 255 scale. Blue leads at 225, green follows at 105 and red trails at 65, which puts the hue at 225 degrees. In HSL the same color is hsl(225, 73%, 57%).
What colour is #4169E1?
#4169E1 is Royal Blue, a mid blue colour with a hue of 225 degrees, 73% saturation and 57% lightness. For print the CMYK breakdown is 71% cyan, 53% magenta, 0% yellow and 12% black. Its nearest neighbour in this library is Cobalt, 9.9 away in CIELAB, a difference you can see.
Is Royal Blue a CSS color name?
Yes. The keyword royalblue is one of the 148 named colors in CSS Color Module Level 4, so color: royalblue; renders exactly #4169E1.
What colors go with Royal Blue?
Opposite Royal Blue on the color wheel sits the complementary #E1B941, the boldest accent by hue. For a calmer scheme use the analogous neighbours #41B9E1 and #6941E1; for a balanced three-color scheme use the triadic pair #E14169 (close to Cerise) and #69E141. Of these, #69E141 has the most contrast against Royal Blue, at 2.87:1, so pair it by hue, not for legibility.
What text color is readable on Royal Blue?
White (#FFFFFF) is the most readable on Royal Blue, at 4.85:1, which clears WCAG AA (4.5:1) but not AAA. 1 of the 5 common text colors tested passes AA for normal text.
Use Royal Blue in a tool
Nearby colors
Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.