Royal Blue Color
Royal Blue is a blue color with hex code #0504AA. This page covers its meaning, all color values, harmonies, colors that go with royal blue, shades, tints, similar colors, CSS examples, FAQs, and WCAG contrast ratios.
Royal Blue Color Values
What Does Royal Blue Mean?
Royal Blue belongs to the blue family of colors. Blue wins popularity surveys in every culture that runs them, and corporate design reflects it. Trust and stability are the usual words people reach for. Dark navies project authority, pale blues open a layout up, and almost nothing clashes with it. Being on the dark side, Royal Blue adds weight and depth. It suits text, shadows, and grounding elements more than wide-open backgrounds.
In the ISCC-NBS color naming system, Royal Blue is classified as a blue (nearest centroid: vivid purplish blue, #30267A). It is also known as Traditional Royal Blue.
Color Harmonies
Complementary
Analogous
Triadic
Colors That Go With Royal Blue
Royal Blue and #A9A904 are complements, parked opposite each other on the wheel. Together they hit maximum contrast, so a rough 70/30 split keeps the pairing from shouting.
Analogous neighbors — #0457A9 and #5704A9, which sit beside royal blue on the wheel. Pairings like this feel calm and settled, which suits backgrounds and gradients.
For an energetic three-color palette, pair royal blue with triadic partners #A90404 and #04A904. All three sit evenly spaced around the wheel, so the scheme stays lively without clashing.
Build and test these combinations in our Color Wheel Tool or check text readability with the Contrast Checker.
Tints and Shades
Tints (lighter)
Shades (darker)
Similar Colors
- Cobalt Blue —
#030AA7(Delta E 3) - Ultramarine —
#2000B1(Delta E 4) - Indigo Blue —
#3A18B1(Delta E 8) - DarkBlue —
#00008B(Delta E 13) - True Blue —
#010FCC(Delta E 14)
CSS Examples
.text { color: #0504AA; }
.background { background-color: #0504AA; }
.border { border: 2px solid #0504AA; }
.shadow { box-shadow: 0 4px 6px #0504AA40; }WCAG Contrast
Frequently Asked Questions
What is the hex code for royal blue?
Royal Blue has the hex code #0504AA. In RGB notation it is rgb(5, 4, 170), in HSL it is hsl(240, 95%, 34%), and its OKLCH value is 0.337, 0.229, 264.9.
What does the color royal blue mean?
Blue-family colors like royal blue carry distinct psychological associations. Royal Blue belongs to the blue family of colors. Blue wins popularity surveys in every culture that runs them, and corporate design reflects it. Trust and stability are the usual words people reach for. Dark navies project authority, pale blues open a layout up, and almost nothing clashes with it. Being on the dark side, Royal Blue adds weight and depth. It suits text, shadows, and grounding elements more than wide-open backgrounds.
What colors go with royal blue?
Royal Blue has three easy routes: its complement #A9A904 for punch, its neighbors #0457A9 and #5704A9 for something calmer, or triadic partners #A90404 and #04A904 when you want energy.
Is royal blue a standard web color?
No — Royal Blue is not a CSS keyword. Use its hex value #0504AA or any RGB/HSL equivalent in your stylesheets.
How do I make royal blue lighter or darker?
To lighten royal blue, add white to create tints; to darken it, add black to create shades. The tints and shades table above shows five computed steps of each, from #C8C8FE (lightest tint) to #01011E (darkest shade).
About Royal Blue
Royal Blue is classified as a Blue in the ISCC-NBS color naming system, within the Blue hue family. It has alternative names including Traditional Royal Blue. The color is recognized by XKCD, meodai.
Use our Color Converter to convert #0504AA to any other color format, or explore the Color Wheel to find harmonious color combinations.