#4169E1

RoyalBlue — Color Codes & Palette

#4169E1  ·  rgb(65, 105, 225)  ·  hsl(225, 73%, 57%)

Color Codes

Format Value
HEX #4169E1
RGB rgb(65, 105, 225)
HSL hsl(225, 73%, 57%)

Shades of RoyalBlue

#2754DD#1F49C7#1B3FAC#173592#132C77#0E225D#0A1842#060F28

Tints of RoyalBlue

#5377E4#6585E7#7693EA#88A1EC#9AAFEF#ABBDF2#BDCBF5#CED9F7

Color Pairings & Harmony

Complementary
#E1B941
Analogous +30°
#6941E1
Analogous −30°
#41B9E1
Triadic +120°
#E14169
Triadic −120°
#69E141

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
4.85:1 — AA pass for normal text
vs. Black (#000000)
4.33:1 — AA pass for large text only

CSS Snippet

.element {
  color: #4169E1;
}

.element-bg {
  background-color: #4169E1;
  color: #ffffff;
}

.element-border {
  border: 2px solid #4169E1;
}

About RoyalBlue

RoyalBlue is a medium color with high saturation, defined by the hex code #4169E1. Its exact color model values are rgb(65, 105, 225) in RGB and hsl(225, 73%, 57%) in HSL (hue 225°, saturation 73%, lightness 57%). On a white background the contrast ratio is 4.85:1 — AA pass for normal text, and on black it is 4.33:1 — AA pass for large text only. Use RoyalBlue for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of RoyalBlue?
The RGB value of RoyalBlue (#4169E1) is rgb(65, 105, 225). Red = rgb(65, 105, 225), representing the amounts of red, green, and blue light on a 0–255 scale.
Is RoyalBlue accessible on a white background?
The contrast ratio of RoyalBlue on white (#FFFFFF) is 4.85:1 — AA pass for normal text. On black (#000000) the contrast ratio is 4.33:1 — AA pass for large text only. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with RoyalBlue?
Based on color theory, RoyalBlue (hsl(225, 73%, 57%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.