#4E64D2#4E64D2

#4E64D2 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.6% C 0.170 H 271.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4E64D2
RGBrgb(78, 100, 210)
HSLhsl(230, 59%, 56%)
HSVhsv(230, 63%, 82%)
CMYKcmyk(62.9%, 52.4%, 0%, 17.6%)
CIE-LABlab(46.16, 26.11, -59.41)
CIE-LCHlch(46.16, 64.89, 293.72°)
OKLaboklab(54.57% 0.0035 -0.1704)
OKLCHoklch(54.57% 0.17 271.2)
XYZxyz(19.3280, 15.3855, 62.9114)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64D2 #D2BC4E
analogous
#4EA6D2 #4E64D2 #7A4ED2
triadic
#4E64D2 #D24E64 #64D24E
tetradic
#4E64D2 #D24EA6 #D2BC4E #4ED27A
square
#4E64D2 #D24EA6 #D2BC4E #4ED27A
split-complementary
#4E64D2 #D27A4E #A6D24E
monochromatic
#223284 #2E44B5 #4E64D2 #7F8FDE #B0B9EB

Accessibility & contrast

On white

5.15
#4E64D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4E64D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64D2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64D2#FFFFFF#000000##FFFFFF
##4E64D21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F73D6
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#007E91
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e64d2;
/* rgb */ color: rgb(78, 100, 210);
/* oklch */ color: oklch(54.6% 0.170 271.2);
Tailwind
colors: {
  custom: {
    50: '#8c8fe0',
    500: '#4e64d2',
    950: '#000000',
  },
}
SCSS
$custom: #4e64d2;
$custom-light: #8c8fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64d2",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 210
  },
  "hsl": {
    "h": 230,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54573,
    "c": 0.17048,
    "h": 271.2
  },
  "luminance": 0.15387
}

Semantic roles & 50–950 ramp

primary
#4E64D2
secondary
#D9D0A3
accent
#C845E3
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E64D2

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

Preview Lab → · Contrast checker → · Palette generator →

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