Skip to content
PantoneTools
blue
CSS Named Colors

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

Sample text · 4.33 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 4.85 : 1
AA Normal
AA Large
AAA Normal
AAA Large

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.

Copied #F0F3FD

50

#F0F3FD

#F0F3FD

Copied #E1E7FA

100

#E1E7FA

#E1E7FA

Copied #C2CFF5

200

#C2CFF5

#C2CFF5

Copied #A0B4F0

300

#A0B4F0

#A0B4F0

Copied #718FE9

400

#718FE9

#718FE9

Copied #4169E1

500

#4169E1

#4169E1

Copied #3759BF

600

#3759BF

#3759BF

Copied #2A4492

700

#2A4492

#2A4492

Copied #1D2F65

800

#1D2F65

#1D2F65

Copied #101A38

900

#101A38

#101A38

Copied #080D1B

950

#080D1B

#080D1B

Lighter tints (mixed with white)

Copied #7A8EE6

15%

#7A8EE6

Copied #9DA9EB

30%

#9DA9EB

Copied #B8C0EF

45%

#B8C0EF

Copied #CFD4F4

60%

#CFD4F4

Copied #E2E5F8

75%

#E2E5F8

Darker shades (mixed with black)

Copied #3C61D1

15%

#3C61D1

Copied #3659C0

30%

#3659C0

Copied #304FAC

45%

#304FAC

Copied #284395

60%

#284395

Copied #1E3578

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

Copied #4169E1

#4169E1

#4169E1

Copied #E1B941

#E1B941

#E1B941

Triadic

Three colors 120° apart

Copied #4169E1

#4169E1

#4169E1

Copied #E14169

#E14169

#E14169

Copied #69E141

#69E141

#69E141

Analogous

Two neighbors ±30° on the wheel

Copied #41B9E1

#41B9E1

#41B9E1

Copied #4169E1

#4169E1

#4169E1

Copied #6941E1

#6941E1

#6941E1

Split-complementary

Base + two colors flanking its complement

Copied #4169E1

#4169E1

#4169E1

Copied #E16941

#E16941

#E16941

Copied #B9E141

#B9E141

#B9E141

Tetradic

Two complementary pairs

Copied #4169E1

#4169E1

#4169E1

Copied #B941E1

#B941E1

#B941E1

Copied #E1B941

#E1B941

#E1B941

Copied #69E141

#69E141

#69E141

Square

Four colors evenly spaced 90° apart

Copied #4169E1

#4169E1

#4169E1

Copied #E141B9

#E141B9

#E141B9

Copied #E1B941

#E1B941

#E1B941

Copied #41E169

#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.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #2271B3

RAL 5015

#2271B3

Sky blue

Copied #49678D

RAL 5023

#49678D

Distant blue

Copied #3E5F8A

RAL 5007

#3E5F8A

Brilliant blue

Copied #3B83BD

RAL 5012

#3B83BD

Light blue

Copied #606E8C

RAL 5014

#606E8C

Pigeon blue

Copied #1B5583

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
web-standard
named-keyword
blue

CSS named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.

CSS Named Colors · Royalblue — #4169E1 | PantoneTools