Color mixer

Royal Blue Color: Hex Code, RGB and Shades

The royal blue hex code is #4169E1, which is rgb(65, 105, 225) in RGB. It is the CSS named color “royalblue”, a bright, confident blue that sits between sky blue and navy.

Royal Blue

30 shades of royal blue with names and codes

In this guide
  1. Codes
  2. Reading hex
  3. Two versions
  4. Shades
  5. Mixing
  6. Screen vs print
  7. Comparisons
  8. Pairings
  9. How to use
  10. Contrast
  11. FAQ

Below you will find every common value for it, why some sources show a much darker “royal blue”, how to mix it in paint, and how to use it in rooms and on screens. Use the mixer above to push it lighter or deeper and copy any shade chip while you read.

Royal Blue Hex Code and Color Values

Here are the numbers designers and printers ask for most. All of them describe the same web color, just in different color languages.

Format Value
Hex #4169E1
RGB 65, 105, 225
HSL 225°, 73%, 57%
HSB/HSV 225°, 71%, 88%
CMYK (typical conversion) 71, 53, 0, 12
CSS name royalblue
Nearest web-safe color #3366CC

Royal Blue comes from the web colors and X11 lists, and you can call it in CSS by name, so color: royalblue; works exactly like the hex. The three-digit shorthand closest to it is #46D, but the full six digits are more accurate.

What the Letters and Numbers in #4169E1 Mean

A hex code is three pairs of base-16 digits: red, green, blue. Here 41 is 65, 69 is 105 and E1 is 225, so blue is turned almost all the way up (about 88%), green sits in the middle, and red is low.

Which pair of characters in #4169E1 sets the blue channel?

Hex codes read red, green, blue in order, so the last pair, E1 (225), is the blue amount.

That mix explains the look. Pure blue (#0000FF) sits at 240° on the color wheel. Royal blue sits at 225°, a small step toward azure, and the added red and green soften it from harsh to friendly. If you want to make it deeper, lower all three channels together. If you want it paler, raise them together.

Why Some Sites Show a Darker Royal Blue

You may have seen royal blue listed as #002366 or #012169 and wondered which is right. Both are, in different contexts. Traditionally royal blue is a deep shade used in several national flags, but the web color named royal blue is much brighter. The web standard chose the lighter one, which is why every screen tool agrees on #4169E1.

The name has a long history. Before it was called queen blue, the color went by “queen’s blue” from 1661. The royal association is strongest in British and European usage, and it travels less neatly elsewhere, so check the royal blue color meaning page before leaning on it for a global audience. My rule: if a brief says “royal blue” with no code, ask which one they mean. That one question has saved me more than one repaint.

Royal Blue Shades From Pale to Deep

Royal blue is a family, not a single dot. These are reliable steps, all keeping the same hue so they sit together happily:

  • Light royal blue: #7A9AEC
  • Medium royal blue: #5580E9
  • Royal blue: #4169E1
  • Deep royal blue: #2B52C4
  • Dark royal blue: #1A3A8F
  • Traditional royal blue: #002366

The plain Blue chip in the mixer above (#1F4FD8) has almost the same hue but is roughly nine points lower in lightness, so it behaves like a deeper royal blue. Use it when #4169E1 feels too bright for a large surface.

How to Mix Royal Blue With Paint

Blue is a primary in paint and in light, so you cannot make it from other colors. You start with a blue and tune it. Ultramarine (PB29) is the best base because it is rich and leans slightly red. A common recipe is about 3 parts ultramarine to a very small amount of phthalo blue, since phthalo is far stronger and a little goes a long way.

If your blue looks too green or too icy, nudge it the other way. Ultramarine with a small amount of magenta or red-violet, around 5:1, is another route.

Tinting counter habit

Add the second blue a pinhead at a time, mix fully, then dab a swatch on white card. Wet paint always looks darker than it dries.

Behind the tinting counter, I learned that blues overshoot fast, because one extra squirt of colorant cannot be taken back. White is the same trap: it lifts royal blue toward periwinkle and chalks it, so add it in small spoonfuls and accept that you are now making a lighter shade, not royal blue itself.

Royal Blue on Screen Versus in Print

Screens make color with light (RGB), so blue light at full strength is easy and glowing. Paint and ink mix by absorbing light, which is why painters think in RYB and printers in CMYK. The same color needs different recipes in each place.

The CMYK values for royal blue are about C:71 M:53 Y:0 K:12. Expect a printed royal blue to look slightly duller than your monitor, because bright screen blues are hard for ink to match. For wall paint, nobody sells a color that is exactly #4169E1, so take the hex to a store, choose the nearest chip and test a sample on the wall in your own light.

Royal Blue vs Navy, Cobalt and Cornflower

Royal blue sits in the middle of the blue ladder. Navy (#000080) is far darker and works as a near-neutral. Cobalt (#0047AB) is deeper and a bit greener. Cornflower (#6495ED) is lighter and softer. Sapphire (#0F52BA) is the jewel-toned cousin. Blending a blue with black is how navy-type shades appear, as the blue and black color mixing guide explains.

On the other side, slate blue (#6A5ACD) and periwinkle (#CCCCFF) lean toward violet. If you like that direction, the shades of purple page shows where blue crosses over. I rarely suggest royal blue to a client who says they want “calm”; I suggest cornflower or a dusty blue instead.

Colors That Pair Well With Royal Blue

Because royal blue is strong, the best partners either calm it or contrast with it on purpose:

  • Golden amber (#E1B941), its direct opposite on the wheel, for a lively, classic pairing
  • Crisp white or a soft off-white from the shades of white for a fresh, nautical feel
  • Cool and mid grays, as explored in what colors go with gray
  • Camel, tan or cream, which warm it up
  • Teal (see teal color code) for a cool, close-neighbor palette
  • Burnt orange from the shades of orange when you want a bolder contrast

Use one of these as the supporting actor. Royal blue with two other loud colors tends to fight.

Palette card with royal blue #4169E1 as the large main swatch beside amber, white, cool gray and camel
Let royal blue be the star, with amber as the accent and white, gray or camel as calm support.

How to Use Royal Blue in Rooms, Outfits and Design

In rooms

A client once asked for royal blue walls in a small, dim study. We went for one anchor instead: a door and built-in shelves in a deep royal blue, with warm white walls. It looked intentional and stayed bright. Royal blue works best on one feature, such as an island, a front door or a velvet chair. If you want it quieter, mute it with gray, as in the muted colors guide.

In outfits and on screens

In clothes, a single royal blue piece with neutrals like camel, white or gray looks sharp without trying. On screens, it works as a link, button or accent color, and it pairs well with plenty of white space.

Try this: Hold a royal blue item next to a golden amber one and a white one, and compare them in daylight and lamp light. Notice which pair you reach for.

Is Royal Blue Readable as a Text or Button Color?

Mostly yes. White text reads well on #4169E1, with a contrast ratio of 4.85:1. That clears the usual 4.5:1 minimum for normal text, but only just, so use a deeper shade such as #2B52C4 for small text or important buttons. Black text on royal blue falls to about 4.3:1, so choose white.

You put white text on a #4169E1 button. Does it meet the common 4.5:1 contrast target for normal text?

Before and after swatches: royal blue #4169E1 with white text at 4.85:1, deeper blue #2B52C4 at 6.8:1
Royal blue only just passes with white text, so a deeper shade makes small text and buttons safer.

White on royal blue measures about 4.85:1, just above the 4.5:1 minimum, so it passes but without much room to spare.

As a text color on white, royal blue works the same way, so it suits links and headings. Avoid it on dark navy or black, where it loses contrast quickly.

Royal Blue Color: Hex Code, RGB and Shades: questions people ask

What is the hex code for royal blue?

The standard royal blue hex code is #4169E1, the CSS named color "royalblue". In RGB it is 65, 105, 225. Some paint and heritage references use a much darker version, often #002366.

What is the difference between royal blue and navy?

Royal blue (#4169E1) is bright and saturated, while navy (#000080) is very dark. Royal blue reads as a clear, vivid blue and navy reads as nearly black in low light.

How do you make royal blue paint?

Start with ultramarine blue and add a very small amount of phthalo blue for brightness. Add it a pinhead at a time, because phthalo is far stronger than ultramarine. Lighten with titanium white only if you need to.

What are the CMYK values for royal blue?

The usual conversion for #4169E1 is C 71, M 53, Y 0, K 12. Treat it as a starting point, because printers and papers shift the result and you should check a printed proof.

Is royal blue a warm or cool color?

Royal blue is a cool color. Its hue sits at 225 degrees on the color wheel, in the blue segment, and it feels cooler still next to warm neutrals like cream or camel.

Keep exploring