Skip to content
PantoneTools
blue
X11 named colors

Royalblue3

royalblue3 · #3A5FCD

HEX

#3A5FCD

RGB

rgb(58, 95, 205)

CMYK

cmyk(72%, 54%, 0%, 20%)

HSL

hsl(225, 60%, 52%)

LAB

lab(43.5, 24.5, -60.9)

What is Royalblue3?

Royalblue3 is the royalblue3 reference in the X11 named colors. Its sRGB value is #3A5FCD (rgb 58, 95, 205). It sits in the blue family. Historical X Window System color names — the numbered 1-4 lightness variants of the classic xorg-server rgb.txt palette. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Royalblue3 as a background.

Black text on this color

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

White text on this color

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

Shades, tints & tonal scale of Royalblue3

An 11-step tonal scale derived from Royalblue3 (#3A5FCD). 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 #EFF2FB

50

#EFF2FB

#EFF2FB

Copied #DFE5F7

100

#DFE5F7

#DFE5F7

Copied #C0CCEF

200

#C0CCEF

#C0CCEF

Copied #9DAFE6

300

#9DAFE6

#9DAFE6

Copied #6B87DA

400

#6B87DA

#6B87DA

Copied #3A5FCD

500

#3A5FCD

#3A5FCD

Copied #3151AE

600

#3151AE

#3151AE

Copied #263E85

700

#263E85

#263E85

Copied #1A2B5C

800

#1A2B5C

#1A2B5C

Copied #0F1833

900

#0F1833

#0F1833

Copied #070B19

950

#070B19

#070B19

Lighter tints (mixed with white)

Copied #7788D6

15%

#7788D6

Copied #9BA6DE

30%

#9BA6DE

Copied #B7BEE5

45%

#B7BEE5

Copied #CED2ED

60%

#CED2ED

Copied #E2E4F4

75%

#E2E4F4

Darker shades (mixed with black)

Copied #3558BF

15%

#3558BF

Copied #3050AF

30%

#3050AF

Copied #2A479D

45%

#2A479D

Copied #233C87

60%

#233C87

Copied #1A2F6D

75%

#1A2F6D

Color harmonies for Royalblue3

Classic color-theory harmonies derived from rotating the hue of Royalblue3. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #3A5FCD

#3A5FCD

#3A5FCD

Copied #CEA93B

#CEA93B

#CEA93B

Triadic

Three colors 120° apart

Copied #3A5FCD

#3A5FCD

#3A5FCD

Copied #CE3B60

#CE3B60

#CE3B60

Copied #60CE3B

#60CE3B

#60CE3B

Analogous

Two neighbors ±30° on the wheel

Copied #3BA9CE

#3BA9CE

#3BA9CE

Copied #3A5FCD

#3A5FCD

#3A5FCD

Copied #603BCE

#603BCE

#603BCE

Split-complementary

Base + two colors flanking its complement

Copied #3A5FCD

#3A5FCD

#3A5FCD

Copied #CE603B

#CE603B

#CE603B

Copied #A9CE3B

#A9CE3B

#A9CE3B

Tetradic

Two complementary pairs

Copied #3A5FCD

#3A5FCD

#3A5FCD

Copied #A93BCE

#A93BCE

#A93BCE

Copied #CEA93B

#CEA93B

#CEA93B

Copied #60CE3B

#60CE3B

#60CE3B

Square

Four colors evenly spaced 90° apart

Copied #3A5FCD

#3A5FCD

#3A5FCD

Copied #CE3BA9

#CE3BA9

#CE3BA9

Copied #CEA93B

#CEA93B

#CEA93B

Copied #3BCE60

#3BCE60

#3BCE60

Royalblue3 in every color space

Full conversion of Royalblue3 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

#3A5FCD

RGB

rgb(58, 95, 205)

CMYK

cmyk(72%, 54%, 0%, 20%)

HSL

hsl(225, 60%, 52%)

HSV

hsv(225, 72%, 80%)

HWB

hwb(225 23% 20%)

CIE Lab

lab(43.5 24.5 -60.9)

OKLCH

oklch(52.2% 0.176 266.3)

XYZ (D65)

xyz(16.85, 13.49, 59.46)

Copy-ready code for Royalblue3

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: #3A5FCD;
background-color: #3A5FCD;

CSS variable

:root {
  --color-royalblue3: #3A5FCD;
}

Tailwind config

// tailwind.config.js
colors: {
  'royalblue3': '#3A5FCD',
}

Sass

$color-royalblue3: #3A5FCD;

Swift UIColor

UIColor(red: 0.227, green: 0.373, blue: 0.804, alpha: 1.0)

Android XML

<color name="royalblue3">#3A5FCD</color>

Closest match in every color system

The nearest Royalblue3 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 X11 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 #49678D

RAL 5023

#49678D

Distant blue

Copied #3E5F8A

RAL 5007

#3E5F8A

Brilliant blue

Copied #2271B3

RAL 5015

#2271B3

Sky blue

Copied #1B5583

RAL 5019

#1B5583

Capri blue

Copied #606E8C

RAL 5014

#606E8C

Pigeon blue

Copied #354D73

RAL 5000

#354D73

Violet blue

FAQ about Royalblue3

What is the HEX code for Royalblue3?

Royalblue3 (royalblue3) has the HEX code #3A5FCD. In RGB it is rgb(58, 95, 205), and in CMYK it is cmyk(72%, 54%, 0%, 20%).

What is the OKLCH value of Royalblue3?

Royalblue3 converts to oklch(0.522 0.176 266.3). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Royalblue3 accessible for body text?

Used as a background, Royalblue3 has a contrast ratio of 3.70:1 with black text and 5.68: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 Royalblue3?

The closest Pantone reference to Royalblue3 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 Royalblue3?

The closest RAL Classic reference to Royalblue3 by ΔE2000 distance is RAL 5023 (Distant blue, #49678D). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Royalblue3?

The complementary color (180° opposite on the HSL color wheel) of Royalblue3 is #CEA93B. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

X11 named colors (xorg rgb.txt)

The historical X11 color name list shipped in the xorg-server rgb.txt file. Roughly 550 entries covering classic computing color names like 'PapayaWhip', 'MediumAquamarine', and 'DarkSlateGray'. Many CSS named colors originate here. Use as a reference for legacy and creative color names. Most modern CSS implementations accept these names directly.

Source type
derived
Confidence
high
License
MIT/X11 license (X Consortium)
Last reviewed
2026-05-24

Workflow tags

x11
named-color
legacy
blue

X11 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.

X11 named colors · Royalblue3 — #3A5FCD | PantoneTools