#4E5ED6#4E5ED6

#4E5ED6 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.183 H 272.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4E5ED6
RGBrgb(78, 94, 214)
HSLhsl(233, 62%, 57%)
HSVhsv(233, 64%, 84%)
CMYKcmyk(63.6%, 56.1%, 0%, 16.1%)
CIE-LABlab(44.91, 31.22, -63.71)
CIE-LCHlch(44.91, 70.95, 296.11°)
OKLaboklab(53.73% 0.0092 -0.1832)
OKLCHoklch(53.73% 0.183 272.9)
XYZxyz(19.2781, 14.4785, 65.3840)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ED6 #D6C64E
analogous
#4EA2D6 #4E5ED6 #824ED6
triadic
#4E5ED6 #D64E5E #5ED64E
tetradic
#4E5ED6 #D64EA2 #D6C64E #4ED682
square
#4E5ED6 #D64EA2 #D6C64E #4ED682
split-complementary
#4E5ED6 #D6824E #A2D64E
monochromatic
#202C8A #2B3CBB #4E5ED6 #808BE2 #B1B8ED

Accessibility & contrast

On white

5.39
#4E5ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4E5ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ED6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ED6#FFFFFF#000000##FFFFFF
##4E5ED61.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#0064D4
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e5ed6;
/* rgb */ color: rgb(78, 94, 214);
/* oklch */ color: oklch(53.7% 0.183 272.9);
Tailwind
colors: {
  custom: {
    50: '#8d8be3',
    500: '#4e5ed6',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ed6;
$custom-light: #8d8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ed6",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 214
  },
  "hsl": {
    "h": 232.941,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53726,
    "c": 0.1834,
    "h": 272.9
  },
  "luminance": 0.1448
}

Semantic roles & 50–950 ramp

primary
#4E5ED6
secondary
#DBD5A4
accent
#D242E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4E5ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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