Royal Blue Color (#4169E1)

#4169E1rgb(65, 105, 225)

Royal Blue is a CSS named color defined as hex code #4169E1. Royal Blue is a vivid mid-tone blue, lighter than pure blue with a slight lean toward cyan. It keeps the energy of blue without the harshness.

Color Overview & Formats

CSS: royalblueLuminance: 0.1666
HEX
#4169E1
RGB
rgb(65, 105, 225)
HSL
hsl(225, 73%, 57%)
Royal Blue (#4169E1) Color Format Conversions
FormatSyntax / ValuesNotesAction
HEX#4169E16-digit hex web code
RGBrgb(65, 105, 225)Red, Green, Blue channels (0-255)
HSLhsl(225, 73%, 57%)Hue (225°), Saturation (73%), Lightness (57%)
HSV / HSBhsv(225, 71%, 88%)Hue, Saturation (71%), Value/Brightness (88%)
CMYKcmyk(71%, 53%, 0%, 12%)Digital mathematical approximation (non-print)
OKLCHoklch(0.560 0.188 266.4)Perceptually uniform color space (CSS Color 4 approximation)
CSS Implementation & Quick Steps
background-color: #4169E1; /* or royalblue */
  1. Select color format: Choose the desired format (HEX #4169E1, RGB, or HSL).
  2. Copy the code: Click the copy button or press Tab+Enter to store in clipboard.
  3. Pair with white text: White text on Royal Blue reaches 4.85:1 (WCAG AA).

What Colors Go With Royal Blue?

These 6 colors all go well with Royal Blue (#4169E1), and each one is a standard CSS named color. The ratio is the WCAG 2.2 contrast of that color on Royal Blue: at 4.5:1 or above it works for text; below that, use it for backgrounds and accents.

White

#FFFFFF
4.85:1Text-safe

The natural text color on royal blue.

Ivory

#FFFFF0
4.8:1Text-safe

A softer, warmer alternative to white.

Gold

#FFD700
3.46:1Background / accent

A regal accent, as the name suggests.

Light Gray

#D3D3D3
3.24:1Background / accent

A calm neutral for backgrounds and dividers.

Orange

#FFA500
2.45:1Background / accent

A vivid complement for playful, sporty palettes.

Navy

#000080
3.3:1Background / accent

A darker tonal blue for depth and headings.

Harmonious Palettes & Tints

The palettes below are algorithmically generated across standard intervals based on Royal Blue (HSL 225°). Each group offers full palette copy and live preview:

Complementary Harmony

Hue rotated 180 degrees on the HSL wheel (225° to 45°), keeping the original saturation and lightness.

Royal Blue
#4169E1
Complement (45°)
#E1B941
Live UI Component Mockup
Component Header SampleWhite text on Royal Blue: 4.85:1 (WCAG AA).
Button style preview

Analogous Harmony

Hues 30 degrees either side (195° and 255°), keeping the original saturation and lightness.

Analogous (195°)
#41B9E1
Royal Blue
#4169E1
Analogous (255°)
#6941E1
Live UI Component Mockup
Component Header SampleWhite text on Royal Blue: 4.85:1 (WCAG AA).
Button style preview

Triadic Harmony

Hues spaced evenly by 120 degrees (345° and 105°), keeping the original saturation and lightness.

Royal Blue
#4169E1
Triadic (345°)
#E14169
Triadic (105°)
#69E141
Live UI Component Mockup
Component Header SampleWhite text on Royal Blue: 4.85:1 (WCAG AA).
Button style preview

Tints & Shades

Mixed with white (tints) and black (shades) in sRGB at 60% and 30%.

Tint 60%
#B3C3F3
Tint 30%
#7A96EA
Royal Blue
#4169E1
Shade 30%
#2E4A9E
Shade 60%
#1A2A5A
Live UI Component Mockup
Component Header SampleWhite text on Royal Blue: 4.85:1 (WCAG AA).
Button style preview

WCAG 2.2 Text Readability & Contrast Check

Under WCAG 2.2 criteria, regular body text requires at least 4.5:1 (AA) and large text requires at least 3.0:1. The table below displays calculated contrast ratios:

Text Contrast Ratios on Royal Blue (#4169E1)
Foreground ColorContrast RatioNormal Text (AA)Large Text (AA)Normal Text AAA (>= 7.0:1)
Pure Black (#000000)
4.33:1FailPassFail
Pure White (#FFFFFF)
4.85:1PassPassFail
Dark Charcoal (#212529)
3.18:1FailPassFail
Mid Gray (#666666)
1.18:1FailFailFail

Interactive Contrast Tester

Enter text foreground and background colors to verify WCAG legibility:

Calculated Ratio:
4.85:1
Normal: Pass AALarge: Pass AAA
Large Heading Sample (18pt Bold)

This is sample body text rendered directly to verify contrast and readability.

Royal Blue Background Download

Download standard 1920x1080 solid desktop wallpaper or generate mobile wallpaper:

Royal Blue 1920x1080 solid color background wallpaper previewStandard Wallpaper: 1920x1080 PNG (#4169E1)

Download Options

All wallpaper files precisely match the W3C standard color value:

Download 1920x1080 PNG

CSS Standard & Usage Notes

royalblue = #4169e1 (rgb(65, 105, 225))
W3C CSS Color 4

UI Design & Accessibility Guidelines

Use it for primary buttons, links, banners and brand colors that need energy. On Royal Blue, white text passes WCAG AA at every size (4.85:1); black text passes only for large text (4.33:1).

Published: · Modified: · Editorial: SwatchAtlas Editorial Team

Frequently Asked Questions (FAQ)

Can I use black text on Royal Blue?

Only for large text. Black text on Royal Blue has a WCAG 2.2 contrast ratio of 4.33:1: enough for large text (3:1) but below the 4.5:1 needed for body text.

Can I use white text on Royal Blue?

Yes. White text on Royal Blue has a WCAG 2.2 contrast ratio of 4.85:1, which passes AA (4.5:1) for all text sizes but not the stricter AAA level (7:1) for body text.

What colors go with Royal Blue?

White, Ivory, Gold, Light Gray, Orange and Navy all go well with Royal Blue. White (4.85:1) and Ivory (4.8:1) have enough contrast for text on Royal Blue; Gold, Light Gray, Orange and Navy work better as a background or accent.

Is royal blue the same as blue?

No. Blue is #0000FF. Royal Blue (#4169E1) mixes in red and green, which makes it lighter and less harsh.