#4E5EA6#4E5EA6

#4E5EA6 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.4% C 0.116 H 272.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4E5EA6
RGBrgb(78, 94, 166)
HSLhsl(229, 36%, 48%)
HSVhsv(229, 53%, 65%)
CMYKcmyk(53%, 43.4%, 0%, 34.9%)
CIE-LABlab(41.81, 15.04, -40.79)
CIE-LCHlch(41.81, 43.48, 290.24°)
OKLaboklab(50.39% 0.0045 -0.1158)
OKLCHoklch(50.39% 0.116 272.2)
XYZxyz(14.0253, 12.3773, 37.7190)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EA6 #A6964E
analogous
#4E8AA6 #4E5EA6 #6A4EA6
triadic
#4E5EA6 #A64E5E #5EA64E
tetradic
#4E5EA6 #A64E8A #A6964E #4EA66A
square
#4E5EA6 #A64E8A #A6964E #4EA66A
split-complementary
#4E5EA6 #A66A4E #8AA64E
monochromatic
#272F53 #3A467C #4E5EA6 #7481BE #9DA7D1

Accessibility & contrast

On white

6.04
#4E5EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5EA6
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EA6#FFFFFF#000000##FFFFFF
##4E5EA61.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4067A9
Deuteranopia (green-blind)
#365FA4
Tritanopia (blue-blind)
#256E7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5ea6;
/* rgb */ color: rgb(78, 94, 166);
/* oklch */ color: oklch(50.4% 0.116 272.2);
Tailwind
colors: {
  custom: {
    50: '#868bc1',
    500: '#4e5ea6',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ea6;
$custom-light: #868bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ea6",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 166
  },
  "hsl": {
    "h": 229.091,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50389,
    "c": 0.11588,
    "h": 272.2
  },
  "luminance": 0.12378
}

Semantic roles & 50–950 ramp

primary
#4E5EA6
secondary
#BEB692
accent
#B85CCC
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #4E5EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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