#4E5EA9#4E5EA9

#4E5EA9 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.6% C 0.120 H 272.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4E5EA9
RGBrgb(78, 94, 169)
HSLhsl(229, 37%, 48%)
HSVhsv(229, 54%, 66%)
CMYKcmyk(53.8%, 44.4%, 0%, 33.7%)
CIE-LABlab(41.98, 16.03, -42.29)
CIE-LCHlch(41.98, 45.23, 290.76°)
OKLaboklab(50.58% 0.005 -0.1202)
OKLCHoklch(50.58% 0.12 272.4)
XYZxyz(14.3037, 12.4887, 39.1853)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EA9 #A9994E
analogous
#4E8BA9 #4E5EA9 #6B4EA9
triadic
#4E5EA9 #A94E5E #5EA94E
tetradic
#4E5EA9 #A94E8B #A9994E #4EA96B
square
#4E5EA9 #A94E8B #A9994E #4EA96B
split-complementary
#4E5EA9 #A96B4E #8BA94E
monochromatic
#272F55 #3B477F #4E5EA9 #7582BF #9FA8D3

Accessibility & contrast

On white

6.00
#4E5EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4E5EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EA9
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EA9#FFFFFF#000000##FFFFFF
##4E5EA91.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E67AC
Deuteranopia (green-blind)
#345FA7
Tritanopia (blue-blind)
#226E7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5ea9;
/* rgb */ color: rgb(78, 94, 169);
/* oklch */ color: oklch(50.6% 0.120 272.4);
Tailwind
colors: {
  custom: {
    50: '#868bc3',
    500: '#4e5ea9',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ea9;
$custom-light: #868bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ea9",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 229.451,
    "s": 36.842,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50578,
    "c": 0.12028,
    "h": 272.4
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#4E5EA9
secondary
#BFB893
accent
#B95BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #4E5EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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