#4E5ED9#4E5ED9

#4E5ED9 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.0% C 0.187 H 272.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4E5ED9
RGBrgb(78, 94, 217)
HSLhsl(233, 65%, 58%)
HSVhsv(233, 64%, 85%)
CMYKcmyk(64.1%, 56.7%, 0%, 14.9%)
CIE-LABlab(45.13, 32.24, -65.07)
CIE-LCHlch(45.13, 72.62, 296.36°)
OKLaboklab(53.96% 0.0093 -0.1872)
OKLCHoklch(53.96% 0.187 272.8)
XYZxyz(19.6648, 14.6331, 67.4204)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ED9 #D9C94E
analogous
#4EA3D9 #4E5ED9 #844ED9
triadic
#4E5ED9 #D94E5E #5ED94E
tetradic
#4E5ED9 #D94EA3 #D9C94E #4ED984
square
#4E5ED9 #D94EA3 #D9C94E #4ED984
split-complementary
#4E5ED9 #D9844E #A3D94E
monochromatic
#1F2B8E #293BC0 #4E5ED9 #808CE4 #B3BAEF

Accessibility & contrast

On white

5.35
#4E5ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4E5ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ED9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ED9#FFFFFF#000000##FFFFFF
##4E5ED91.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e5ed9;
/* rgb */ color: rgb(78, 94, 217);
/* oklch */ color: oklch(54.0% 0.187 272.8);
Tailwind
colors: {
  custom: {
    50: '#8e8be6',
    500: '#4e5ed9',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ed9;
$custom-light: #8e8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ed9",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 233.094,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53955,
    "c": 0.1874,
    "h": 272.8
  },
  "luminance": 0.14635
}

Semantic roles & 50–950 ramp

primary
#4E5ED9
secondary
#DDD7A6
accent
#D440E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E5ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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