#4E5EA7#4E5EA7

#4E5EA7 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.5% C 0.117 H 272.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4E5EA7
RGBrgb(78, 94, 167)
HSLhsl(229, 36%, 48%)
HSVhsv(229, 53%, 65%)
CMYKcmyk(53.3%, 43.7%, 0%, 34.5%)
CIE-LABlab(41.87, 15.37, -41.29)
CIE-LCHlch(41.87, 44.06, 290.41°)
OKLaboklab(50.45% 0.0046 -0.1173)
OKLCHoklch(50.45% 0.117 272.3)
XYZxyz(14.1174, 12.4142, 38.2040)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EA7 #A7974E
analogous
#4E8BA7 #4E5EA7 #6A4EA7
triadic
#4E5EA7 #A74E5E #5EA74E
tetradic
#4E5EA7 #A74E8B #A7974E #4EA76A
square
#4E5EA7 #A74E8B #A7974E #4EA76A
split-complementary
#4E5EA7 #A76A4E #8BA74E
monochromatic
#272F54 #3B477D #4E5EA7 #7481BE #9EA7D2

Accessibility & contrast

On white

6.03
#4E5EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4E5EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EA7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EA7#FFFFFF#000000##FFFFFF
##4E5EA71.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F67AA
Deuteranopia (green-blind)
#355FA5
Tritanopia (blue-blind)
#246E7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5ea7;
/* rgb */ color: rgb(78, 94, 167);
/* oklch */ color: oklch(50.5% 0.117 272.3);
Tailwind
colors: {
  custom: {
    50: '#868bc1',
    500: '#4e5ea7',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ea7;
$custom-light: #868bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ea7",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 229.213,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50452,
    "c": 0.11735,
    "h": 272.3
  },
  "luminance": 0.12415
}

Semantic roles & 50–950 ramp

primary
#4E5EA7
secondary
#BEB792
accent
#B85BCC
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #4E5EA7

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

Preview Lab → · Contrast checker → · Palette generator →

#4E5EA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva