#4169E1

#4169E1 is the hex color RoyalBlue. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #4169E1; the exact match is RoyalBlue.

Open #4169E1 in the picker

#4169E1 color codes

HEX
#4169E1
HEX8
#4169E1FF
HEX8 (Android)
#FF4169E1
RGB
rgb(65, 105, 225)
RGB (%)
25%, 41%, 88%
HSL
hsl(225, 73%, 57%)
HSV / HSB
hsv(225, 71%, 88%)
CMYK
cmyk(71%, 53%, 0%, 12%)
OKLCH
oklch(0.5598 0.1882 266.4)
OKLCH (%)
oklch(55.98% 0.1882 266.4)
Decimal
4286945

What color is #4169E1?

#4169E1 sits at 56% lightness and 0.1882 chroma in OKLCH, hue 266.4°. Its nearest named color is RoyalBlue (an exact match).

Shades and tints of #4169E1

Tints

Shades

Tones

#4169E1 color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #4169E1 in CSS

.text       { color: #4169E1; }
.background { background-color: #4169E1; }
.border     { border: 2px solid #4169E1; }

/* Modern, perceptually uniform */
.text { color: oklch(0.5598 0.1882 266.4); }

/* #4169E1 at 50% transparency */
.overlay { background-color: #4169E180; }

Is #4169E1 accessible?

#4169E1 on white text scores 4.85:1; on black text it scores 4.33:1. White text passes WCAG AA for normal text on #4169E1. Recommended text color on a #4169E1 background: white.

A 4.33:1 vs black
A 4.85:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Fail
  • AAA large ≥ 4.5 Pass

Recommended text color: white

CSS contrast-color() contrast-color(#4169E1) → white
APCA Lc experimental 78.6 Lc · body text (white text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

Nearest featured color: Blue #0000FF. See more in the blue family on the colors hub.

Frequently asked questions

What color is #4169E1?
#4169E1 is RoyalBlue. In RGB it is rgb(65, 105, 225), and in HSL hsl(225, 73%, 57%).
What is #4169E1 in RGB?
#4169E1 converts to rgb(65, 105, 225) — red 65, green 105, blue 225.
What text color is readable on #4169E1?
White text — it has the higher contrast ratio (4.85:1) against #4169E1. White text passes WCAG AA for normal text on #4169E1.
Open #4169E1 in the picker