Royal Blue (#4169E1) — Color Codes, Meaning & UI Palettes
Created for a competition to make a dress for Queen Charlotte, Royal Blue exudes authority, dynamic digital intelligence, confidence, and electric vibrancy.
#4169E1. In RGB, it is rgb(65, 105, 225). In HSL, it is hsl(225deg, 73%, 57%), and its print CMYK formulation is cmyk(71%, 53%, 0%, 12%). It has a relative luminance of 0.167 and pairs best in UI design with Pure White (#FFFFFF) and Obsidian Glass (#12141A).
WCAG 2.1 Accessibility & Contrast Rating
11-Step Tints & Shades Scale (Tailwind 50–950)
Mathematically balanced luminance scale for design tokens and CSS color palettes. Click any shade to copy hex code:
Color Harmonies & Palette Schemes
Complementary
Analogous -30°
Analogous +30°
Triadic +120°
Triadic +240°
Curated UI Design Pairings for Royal Blue
One of the highest-converting CTA button colors on the modern web. Offers excellent contrast against dark obsidian dashboards and crisp white pages.
Export Royal Blue Code Snippets
--color-royal-blue: #4169E1;
'royal-blue': '#4169E1'
Color(hex: "#4169E1")
{"name": "Royal Blue", "hex": "#4169E1"}
Frequently Asked Questions About Royal Blue (#4169E1)
What is the exact HEX code for Royal Blue?
The exact HEX code for Royal Blue is #4169E1. In 8-digit hexadecimal (with 100% opacity), it is #4169E1FF. Its RGB decimal equivalent is rgb(65, 105, 225) and its HSL value is hsl(225deg, 73%, 57%).
What colors go best with Royal Blue in UI and web design?
Royal Blue pairs exceptionally well with Pure White (#FFFFFF), Obsidian Glass (#12141A), Amber Gold (#F59E0B), and Cool Slate (#64748B).
How do I use Royal Blue in CSS and Tailwind CSS?
In standard CSS, apply it directly via color: #4169E1; or background-color: #4169E1;. In Tailwind CSS, use arbitrary value syntax like bg-[#4169e1] or text-[#4169e1], or define it in your Tailwind v4 @theme block as --color-royal-blue: #4169E1;.
Is Royal Blue WCAG accessible for readable text?
Against a pure white background (#FFFFFF), Royal Blue achieves a contrast ratio of 4.85:1 (AA). Against a pure black background (#000000), it achieves 4.33:1 (AA Large). Check custom contrast pairings on Pikka's WCAG Contrast Checker.
Explore More Colors in the Dictionary
Browse our complete catalog of curated named colors, harmonic palettes, and accessible UI combinations.