Royal Blue
#4169E1About 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.
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) |
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.