Royal Blue#4169E1

#4169E1 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.0% C 0.188 H 266.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Royal Blue — editorial page

Color values

HEX#4169E1
RGBrgb(65, 105, 225)
HSLhsl(225, 73%, 57%)
HSVhsv(225, 71%, 88%)
CMYKcmyk(71.1%, 53.3%, 0%, 11.8%)
CIE-LABlab(47.83, 26.26, -65.26)
CIE-LCHlch(47.83, 70.35, 291.92°)
OKLaboklab(55.99% -0.0118 -0.1879)
OKLCHoklch(55.99% 0.188 266.4)
XYZxyz(20.8174, 16.6610, 73.3384)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4169E1 #E1B941
analogous
#41B9E1 #4169E1 #6941E1
triadic
#4169E1 #E14169 #69E141
tetradic
#4169E1 #E141B9 #E1B941 #41E169
square
#4169E1 #E141B9 #E1B941 #41E169
split-complementary
#4169E1 #E16941 #B9E141
monochromatic
#173591 #1F49C6 #4169E1 #7693E9 #ABBCF2

Accessibility & contrast

On white

4.85
#4169E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4169E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4169E1
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4169E1#FFFFFF#000000##FFFFFF
##4169E11.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0879E5
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#00869B
Achromatopsia (no color)
#717171

Related colors

#3D5EC8
#3953B0
#344998
#2F3F81
#2A356A
#242B55
#1E2240
#17192C
#100F1A
#000000
#5E77E4
#7585E8
#8993EB
#9CA2EE
#AEB1F1
#BFC0F4
#CFCFF7
#DFDFFA
#EFEFFD
#FFFFFF
#4D6AD6
#566ACA
#5D6BBF
#636CB4

Palettes with this color

Design tokens & code

CSS
--color: #4169e1;
/* rgb */ color: rgb(65, 105, 225);
/* oklch */ color: oklch(56.0% 0.188 266.4);
Tailwind
colors: {
  custom: {
    50: '#8993eb',
    500: '#4169e1',
    950: '#000000',
  },
}
SCSS
$custom: #4169e1;
$custom-light: #8993eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4169e1",
  "rgb": {
    "r": 65,
    "g": 105,
    "b": 225
  },
  "hsl": {
    "h": 225,
    "s": 72.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55985,
    "c": 0.18823,
    "h": 266.4
  },
  "luminance": 0.16663
}

Semantic roles & 50–950 ramp

primary
#4169E1
secondary
#E0CF9E
accent
#C238EF
background
#F9F9FE
surface
#F1F1FD
border
#CBCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4169E1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4169E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva