Royal Blue Hex Code — #4169E1

RGB, HSL, and CMYK values for Royal Blue.

Last updated: April 6, 2026

Royal Blue Color Values

FormatValue
HEX#4169E1
RGBrgb(65, 105, 225)
HSLhsl(225, 73%, 57%)
CMYKcmyk(71%, 53%, 0%, 12%)
Want to explore more shades? Use our Color Converter

About Royal Blue

Color psychology: Superiority, royalty.

Royal Blue (#4169E1) is a medium shade of blue with a hue angle of 225° on the color wheel, 73% saturation, and 57% lightness. It's commonly used in web design, graphic design, and branding where superiority, royalty are desired associations.

In color theory, Royal Blue sits in the cool section of the spectrum. Its high saturation makes it vivid and attention-grabbing — ideal for CTAs, headings, and brand accents.

When to Use Royal Blue in Design

Web Design

Use Royal Blue for headings, links, or accent elements against light backgrounds. Dark colors like this provide strong contrast and draw the eye to important content.

Branding & Logo

Royal Blue conveys superiority, royalty — consider it for brands that want to project these qualities. Test it at small sizes (favicon, social avatar) to ensure it remains recognizable.

Print Design

Use the CMYK values (C:71% M:53% Y:0% K:12%) for accurate print reproduction in brochures, business cards, and packaging. Request a physical proof — screen colors often appear more vibrant than their printed equivalents.

UI / UX Design

Light colors like Royal Blue work well for card backgrounds, section dividers, and hover states. Pair with a darker variant for active/selected states.

How to Use Royal Blue in CSS

/* Using HEX */
color: #4169E1;
background-color: #4169E1;

/* Using RGB */
color: rgb(65, 105, 225);

/* Using HSL — best for creating variations */
color: hsl(225, 73%, 57%);

/* Transparent overlay (50% opacity) */
background-color: rgba(65, 105, 225, 0.5);

/* Lighter variant for hover states */
background-color: hsl(225, 73%, 67%);

/* Darker variant for active states */
background-color: hsl(225, 73%, 47%);

HSL is the most flexible format for creating color systems. By adjusting the lightness value, you can generate an entire shade scale from Royal Blue without changing its core hue or saturation.

Colors That Go With Royal Blue

Complementary

Analogous

Triadic

Similar Shades of Blue

Frequently Asked Questions

What is the hex code for Royal Blue?
The hex color code for Royal Blue is #4169E1. In CSS, apply it as text color with color: #4169E1;, as a background with background-color: #4169E1;, or as a border with border-color: #4169E1;. Hex is the most widely used color notation on the web because it is compact, supported by every browser, and easy to copy between design tools like Figma, Photoshop, and code editors.
What is Royal Blue in RGB and when should I use RGB?
Royal Blue in RGB is rgb(65, 105, 225), where Red=65, Green=105, and Blue=225 on a 0-255 scale. Use RGB when you need transparency — rgba(65, 105, 225, 0.5) creates a 50% transparent version. RGB is also the native format for HTML canvas, WebGL, and JavaScript image manipulation, since each channel represents the intensity of that primary light color on screen displays.
How to use Royal Blue in CSS with different color formats?
Royal Blue can be applied in CSS using multiple formats: (1) Hex: color: #4169E1; — most compact and widely used. (2) RGB: color: rgb(65, 105, 225); — useful when calculating colors dynamically in JavaScript. (3) HSL: color: hsl(225, 73%, 57%); — best for creating variations, since adjusting lightness produces lighter or darker shades while keeping the same hue. (4) With transparency: rgba(65, 105, 225, 0.8); or hsla(225, 73%, 57%, 0.8); for 80% opacity overlays.
What is the HSL value of Royal Blue and why is HSL useful for designers?
Royal Blue in HSL is hsl(225, 73%, 57%). HSL stands for Hue (225 degrees on the color wheel), Saturation (73% color intensity), and Lightness (57% brightness). HSL is the most intuitive format for designers because you can create harmonious palettes by rotating the hue, generate hover effects by increasing lightness by 10%, and desaturate colors by reducing the S value. This makes Royal Blue a medium, vivid cool-toned color.
What is the CMYK value of Royal Blue for print design?
Royal Blue in CMYK is C:71% M:53% Y:0% K:12%. CMYK (Cyan, Magenta, Yellow, Key/Black) is the standard color model for professional printing — business cards, brochures, merchandise, and packaging. When designing for print in Adobe InDesign or Illustrator, use these exact CMYK values to ensure accurate color reproduction. Screen colors (RGB) often appear more vibrant than their printed CMYK equivalents, so always request a physical proof for brand-critical materials.
What colors pair well with Royal Blue in design projects?
Blue is the most universally liked color and pairs with almost anything. Use light blue backgrounds with dark text for calm interfaces, or pair navy with white for a professional, trustworthy look.
Is Royal Blue (#4169E1) accessible for web design and WCAG compliant?
Blue-on-white is one of the safer combinations for color-blind users, but ensure the shade is dark enough (below #1565C0) for WCAG AA text compliance at the standard 4.5:1 ratio. For Royal Blue specifically: as a medium shade (lightness: 57%), it works best as a background color with dark text overlaid, or as a decorative accent. Avoid using it as text color on white backgrounds since the contrast ratio is likely insufficient. WCAG 2.1 requires a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text (18px+ bold or 24px+ regular).

Was this page helpful?

Written by

Tamanna Tasnim

Senior Full Stack Developer

ToolsContainerDhaka, Bangladesh5+ years experiencetasnim@toolscontainer.comwww.toolscontainer.com

Full-stack developer with deep expertise in data formats, APIs, and developer tooling. Writes in-depth technical comparisons and conversion guides backed by hands-on engineering experience across modern web stacks.