graf1x

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

HEX
#0504AA
RGB
5, 4, 170
HSL
240, 95%, 34%
HSV
240, 98%, 67%
CIE LAB
20.1, 57.4, -78.8
OKLCH
0.337, 0.229, 264.9
ISCC-NBS
Blue
Hue Family
Blue

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

#0504AARoyal Blue
#A9A904Complement

Analogous

#0457A9Analogous 1
#0504AARoyal Blue
#5704A9Analogous 2

Triadic

#0504AARoyal Blue
#A90404Triad 1
#04A904Triad 2

Colors That Go With Royal Blue

#0504AARoyal Blue
#A9A904Complement

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.

#0457A9Analogous 1
#0504AARoyal Blue
#5704A9Analogous 2

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.

#0504AARoyal Blue
#A90404Triad 1
#04A904Triad 2

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)

#0606E0
#2424F9
#5B5BFB
#9292FC
#C8C8FE

Shades (darker)

#04048B
#030372
#020255
#010137
#01011E

Similar Colors

CSS Examples

.text { color: #0504AA; }
.background { background-color: #0504AA; }
.border { border: 2px solid #0504AA; }
.shadow { box-shadow: 0 4px 6px #0504AA40; }

WCAG Contrast

13.09:1
vs White AA ✓
1.60:1
vs Black AA ✗

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.