ChromaWell

RoyalBlue

#4169E1

Traces to a likely apocryphal but long-repeated story of an 18th-century English competition to dye a gown for Queen Charlotte — whether or not the specific contest is historically verified, the name has stuck as the standard term for this saturated, slightly purple-leaning blue for well over a century.

Every value on this page is computed at build time from the hex code above using ChromaWell's shared, unit-tested color-core library — the same conversion, contrast, and nearest-name math used across every color page on this site, so a value here matches the same color looked up anywhere else on ChromaWell.

The conversions block gives you the same color in seven common formats (hex, RGB, HSL, HSV, CMYK, Lab, and OKLCH) so you can copy whichever your codebase or design tool expects. The contrast block applies the WCAG 2.x relative-luminance formula against several common backgrounds and reports whether text in this color would pass AA or AAA at normal and large text sizes. Shades/tints step the lightness up and down at a fixed hue and saturation; harmonies rotate the hue around the color wheel to surface complementary, analogous, triadic, and split-complementary partners; and nearest named colors ranks the closest matches from our full 1,094-color dataset by CIE76 Delta-E distance in Lab space, a perceptual distance metric rather than a raw RGB difference.

Conversions

HEX
#4169E1
RGB
rgb(65, 105, 225)
HSL
hsl(225, 72.7%, 56.9%)
HSV
hsv(225, 71.1%, 88.2%)
CMYK
cmyk(71.1, 53.3, 0, 11.8)
Lab
lab(47.83, 26.26, -65.26)
OKLCH
oklch(0.5598 0.1882 266.4)

WCAG contrast

  • On white: 4.85:1 — normal text AA, large text AAA
  • On black: 4.33:1 — normal text FAIL, large text AA
  • On pure white: 4.85:1 — normal text AA, large text AAA
  • On pure black: 4.33:1 — normal text FAIL, large text AA
  • On light gray (#F3F4F6): 4.4:1 — normal text FAIL, large text AA
  • On dark slate (#1F2937): 3.03:1 — normal text FAIL, large text AA

Ratios computed from WCAG 2.x relative luminance; AA needs 4.5:1 for normal text and 3:1 for large text (18pt+ or 14pt+ bold), AAA needs 7:1 and 4.5:1 respectively.

Shades & tints

#132C76
#1D44B9
#4169E1
#839DEB
#C5D1F6

Lightness stepped ±15% and ±30% in HSL space at constant hue and saturation (225°, 72.7%) — a shade darkens toward black, a tint lightens toward white.

Color harmonies

Hue-wheel relationships computed at this color's exact hue (225°), holding saturation and lightness constant.

Complementary

#E1B941

rgb(225, 185, 65)

Analogous −30°

#41B9E1

rgb(65, 185, 225)

Analogous +30°

#6941E1

rgb(105, 65, 225)

Triadic 120°

#E14169

rgb(225, 65, 105)

Triadic 240°

#69E141

rgb(105, 225, 65)

Split-complementary −150°

#B9E141

rgb(185, 225, 65)

Split-complementary +150°

#E16941

rgb(225, 105, 65)

Nearest named colors

  • RoyalBlue (ΔE 0.0)
  • SlateBlue (ΔE 12.6)
  • MediumSlateBlue (ΔE 15.4)
  • MediumPurple (ΔE 19.8)
  • DodgerBlue (ΔE 20.1)

Ranked by CIE76 Delta-E distance in Lab space — the lower the number, the closer the perceptual match to this exact color.

Perceptual profile

Hue 225° places this color in the cool range of the wheel. At 72.7% saturation it reads as moderately saturated, and at 56.9% lightness it sits at mid-tone. In OKLCH — the newer, perceptually uniform color space — this color's lightness is 0.5598, chroma 0.1882, hue 266.4°, which is a more accurate predictor of how "bright" this color will look next to others than HSL lightness alone.

Use in CSS

This is a cool hue at 72.7% saturation and 56.9% lightness. Drop it into a stylesheet as a custom property:

:root {
  --color-4169e1: #4169E1;
}
.el {
  color: var(--color-4169e1);
}

Part of the open CSS/X11 named-color set — see methodology.