Skip to main content
matte

#4169E1

royalblue

#4169E1 is the CSS named color "royalblue", an exact match. In RGB it breaks down to red 65, green 105, and blue 225 out of 255 each. In HSL terms that's a hue of 225°, 73% saturation, and 57% lightness: a mid-tone — usable as an accent for buttons, links, and icons against either a light or dark background.

Every format

HEX#4169e1
RGBrgb(65, 105, 225)
HSLhsl(225° 73% 57%)
HSBhsb(225° 71% 88%)
OKLCHoklch(56% 0.188 266°)
OKLABoklab(56% -0.012 -0.188)
LCHlch(47% 69.0 285°)
CMYKcmyk(71% 53% 0% 12%)

Shades (darker)

#4169e1 · #355bd2 · #2a4dc2 · #1f3eb3 · #162fa4

Tints (lighter)

#4169e1 · #4d77f0 · #5985ff · #6693ff · #72a1ff

Shades mix #4169E1 toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.

On white: 4.85:1 — AA
On black: 4.33:1 — AA (large text only)

Frequently asked

What is #4169E1 in RGB?
#4169E1 is rgb(65, 105, 225) — red 65, green 105, blue 225 out of 255 each.
Does #4169E1 pass WCAG contrast on a white background?
It has a contrast ratio of 4.85:1 against white, which passes WCAG AA for normal text.
What's a good background color to pair with #4169E1?
White text or a white background gives better contrast (4.85:1) than black (4.33:1).

Related colors

Full color tools