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
White text on this color
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.
50
#EFF2FB
#EFF2FB
100
#DFE5F7
#DFE5F7
200
#C0CCEF
#C0CCEF
300
#9DAFE6
#9DAFE6
400
#6B87DA
#6B87DA
500
#3A5FCD
#3A5FCD
600
#3151AE
#3151AE
700
#263E85
#263E85
800
#1A2B5C
#1A2B5C
900
#0F1833
#0F1833
950
#070B19
#070B19
Lighter tints (mixed with white)
15%
#7788D6
30%
#9BA6DE
45%
#B7BEE5
60%
#CED2ED
75%
#E2E4F4
Darker shades (mixed with black)
15%
#3558BF
30%
#3050AF
45%
#2A479D
60%
#233C87
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
#3A5FCD
#3A5FCD
#CEA93B
#CEA93B
Triadic
Three colors 120° apart
#3A5FCD
#3A5FCD
#CE3B60
#CE3B60
#60CE3B
#60CE3B
Analogous
Two neighbors ±30° on the wheel
#3BA9CE
#3BA9CE
#3A5FCD
#3A5FCD
#603BCE
#603BCE
Split-complementary
Base + two colors flanking its complement
#3A5FCD
#3A5FCD
#CE603B
#CE603B
#A9CE3B
#A9CE3B
Tetradic
Two complementary pairs
#3A5FCD
#3A5FCD
#A93BCE
#A93BCE
#CEA93B
#CEA93B
#60CE3B
#60CE3B
Square
Four colors evenly spaced 90° apart
#3A5FCD
#3A5FCD
#CE3BA9
#CE3BA9
#CEA93B
#CEA93B
#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.
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 5023
#49678D
Distant blue
RAL 5007
#3E5F8A
Brilliant blue
RAL 5015
#2271B3
Sky blue
RAL 5019
#1B5583
Capri blue
RAL 5014
#606E8C
Pigeon blue
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 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.