Royalblue
royalblue · #4169E1
HEX
#4169E1
RGB
rgb(65, 105, 225)
CMYK
cmyk(71%, 53%, 0%, 12%)
HSL
hsl(225, 73%, 57%)
LAB
lab(47.8, 26.3, -65.3)
What is Royalblue?
Royalblue is the royalblue reference in the CSS Named Colors. Its sRGB value is #4169E1 (rgb 65, 105, 225). It sits in the blue family. The 147 named colors defined by the W3C CSS Color Module Level 4 specification — usable directly in CSS as keywords like 'crimson' or 'rebeccapurple'. See disclaimer for accuracy and trademark notes.
Accessibility
WCAG 2.1 contrast checks for Royalblue as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Royalblue
An 11-step tonal scale derived from Royalblue (#4169E1). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.
50
#F0F3FD
#F0F3FD
100
#E1E7FA
#E1E7FA
200
#C2CFF5
#C2CFF5
300
#A0B4F0
#A0B4F0
400
#718FE9
#718FE9
500
#4169E1
#4169E1
600
#3759BF
#3759BF
700
#2A4492
#2A4492
800
#1D2F65
#1D2F65
900
#101A38
#101A38
950
#080D1B
#080D1B
Lighter tints (mixed with white)
15%
#7A8EE6
30%
#9DA9EB
45%
#B8C0EF
60%
#CFD4F4
75%
#E2E5F8
Darker shades (mixed with black)
15%
#3C61D1
30%
#3659C0
45%
#304FAC
60%
#284395
75%
#1E3578
Color harmonies for Royalblue
Classic color-theory harmonies derived from rotating the hue of Royalblue. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#4169E1
#4169E1
#E1B941
#E1B941
Triadic
Three colors 120° apart
#4169E1
#4169E1
#E14169
#E14169
#69E141
#69E141
Analogous
Two neighbors ±30° on the wheel
#41B9E1
#41B9E1
#4169E1
#4169E1
#6941E1
#6941E1
Split-complementary
Base + two colors flanking its complement
#4169E1
#4169E1
#E16941
#E16941
#B9E141
#B9E141
Tetradic
Two complementary pairs
#4169E1
#4169E1
#B941E1
#B941E1
#E1B941
#E1B941
#69E141
#69E141
Square
Four colors evenly spaced 90° apart
#4169E1
#4169E1
#E141B9
#E141B9
#E1B941
#E1B941
#41E169
#41E169
Royalblue in every color space
Full conversion of Royalblue across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.
HEX
#4169E1
RGB
rgb(65, 105, 225)
CMYK
cmyk(71%, 53%, 0%, 12%)
HSL
hsl(225, 73%, 57%)
HSV
hsv(225, 71%, 88%)
HWB
hwb(225 25% 12%)
CIE Lab
lab(47.8 26.3 -65.3)
OKLCH
oklch(56.0% 0.188 266.4)
XYZ (D65)
xyz(20.82, 16.66, 73.34)
Copy-ready code for Royalblue
Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.
CSS
color: #4169E1;
background-color: #4169E1;CSS variable
:root {
--color-royalblue: #4169E1;
}Tailwind config
// tailwind.config.js
colors: {
'royalblue': '#4169E1',
}Sass
$color-royalblue: #4169E1;Swift UIColor
UIColor(red: 0.255, green: 0.412, blue: 0.882, alpha: 1.0)Android XML
<color name="royalblue">#4169E1</color>Closest match in every color system
The nearest Royalblue equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.
Closest in CSS Named Colors
Top 6 ΔE2000-closest entries within the same collection.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 5015
#2271B3
Sky blue
RAL 5023
#49678D
Distant blue
RAL 5007
#3E5F8A
Brilliant blue
RAL 5012
#3B83BD
Light blue
RAL 5014
#606E8C
Pigeon blue
RAL 5019
#1B5583
Capri blue
FAQ about Royalblue
What is the HEX code for Royalblue?
Royalblue (royalblue) has the HEX code #4169E1. In RGB it is rgb(65, 105, 225), and in CMYK it is cmyk(71%, 53%, 0%, 12%).
What is the OKLCH value of Royalblue?
Royalblue converts to oklch(0.560 0.188 266.4). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.
Is Royalblue accessible for body text?
Used as a background, Royalblue has a contrast ratio of 4.33:1 with black text and 4.85:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use white text and verify in real UI context.
What is the closest Pantone to Royalblue?
The closest Pantone reference to Royalblue by ΔE2000 perceptual distance is Pantone 7455 C (#3A5DAE). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.
What is the closest RAL color to Royalblue?
The closest RAL Classic reference to Royalblue by ΔE2000 distance is RAL 5015 (Sky blue, #2271B3). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.
What is the complementary color of Royalblue?
The complementary color (180° opposite on the HSL color wheel) of Royalblue is #E1B941. Use it for high-contrast accents, error states, or call-to-action pairings.
Data provenance & source
CSS Named Colors (CSS Color Module Level 4)
The 147 named colors defined by the W3C CSS Color Module Level 4 specification. Origin: VGA (16) + X11 (rest) + 'rebeccapurple'. Use as a reference for web color names that all browsers natively support. Names like 'crimson' or 'rebeccapurple' work as CSS values without any framework.
- Source type
- derived
- Confidence
- high
- License
- W3C permissive document license
- Last reviewed
- 2026-05-24
Workflow tags
CSS named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.