#4169E7#4169E7

#4169E7 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.4% C 0.196 H 266.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4169E7
RGBrgb(65, 105, 231)
HSLhsl(226, 78%, 58%)
HSVhsv(226, 72%, 91%)
CMYKcmyk(71.9%, 54.5%, 0%, 9.4%)
CIE-LABlab(48.25, 28.41, -67.96)
CIE-LCHlch(48.25, 73.66, 292.68°)
OKLaboklab(56.44% -0.0114 -0.1958)
OKLCHoklch(56.44% 0.196 266.7)
XYZxyz(21.6503, 16.9942, 77.7250)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4169E7 #E7BF41
analogous
#41BCE7 #4169E7 #6C41E7
triadic
#4169E7 #E74169 #69E741
tetradic
#4169E7 #E741BC #E7BF41 #41E76C
square
#4169E7 #E741BC #E7BF41 #41E76C
split-complementary
#4169E7 #E76C41 #BCE741
monochromatic
#13349A #1A46D0 #4169E7 #7794EE #AEBFF5

Accessibility & contrast

On white

4.77
#4169E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4169E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4169E7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4169E7#FFFFFF#000000##FFFFFF
##4169E71.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#00889E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4169e7;
/* rgb */ color: rgb(65, 105, 231);
/* oklch */ color: oklch(56.4% 0.196 266.7);
Tailwind
colors: {
  custom: {
    50: '#8a93ef',
    500: '#4169e7',
    950: '#000000',
  },
}
SCSS
$custom: #4169e7;
$custom-light: #8a93ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4169e7",
  "rgb": {
    "r": 65,
    "g": 105,
    "b": 231
  },
  "hsl": {
    "h": 225.542,
    "s": 77.57,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56437,
    "c": 0.19613,
    "h": 266.7
  },
  "luminance": 0.16996
}

Semantic roles & 50–950 ramp

primary
#4169E7
secondary
#E3D3A1
accent
#C634F4
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0D0D17
muted
#7E7E85

Preview Lab

Preview with #4169E7

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

Preview Lab → · Contrast checker → · Palette generator →

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