#4E64D1#4E64D1

#4E64D1 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.5% C 0.169 H 271.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4E64D1
RGBrgb(78, 100, 209)
HSLhsl(230, 59%, 56%)
HSVhsv(230, 63%, 82%)
CMYKcmyk(62.7%, 52.2%, 0%, 18%)
CIE-LABlab(46.09, 25.76, -58.95)
CIE-LCHlch(46.09, 64.33, 293.61°)
OKLaboklab(54.5% 0.0034 -0.1691)
OKLCHoklch(54.5% 0.169 271.2)
XYZxyz(19.2038, 15.3358, 62.2573)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64D1 #D1BB4E
analogous
#4EA6D1 #4E64D1 #7A4ED1
triadic
#4E64D1 #D14E64 #64D14E
tetradic
#4E64D1 #D14EA6 #D1BB4E #4ED17A
square
#4E64D1 #D14EA6 #D1BB4E #4ED17A
split-complementary
#4E64D1 #D17A4E #A6D14E
monochromatic
#223283 #2F45B3 #4E64D1 #7F8FDE #AFB9EA

Accessibility & contrast

On white

5.16
#4E64D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4E64D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64D1
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64D1#FFFFFF#000000##FFFFFF
##4E64D11.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2173D5
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e64d1;
/* rgb */ color: rgb(78, 100, 209);
/* oklch */ color: oklch(54.5% 0.169 271.2);
Tailwind
colors: {
  custom: {
    50: '#8c8fe0',
    500: '#4e64d1',
    950: '#000000',
  },
}
SCSS
$custom: #4e64d1;
$custom-light: #8c8fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64d1",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 209
  },
  "hsl": {
    "h": 229.924,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54501,
    "c": 0.1691,
    "h": 271.2
  },
  "luminance": 0.15337
}

Semantic roles & 50–950 ramp

primary
#4E64D1
secondary
#D8CFA2
accent
#C846E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E64D1

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

Preview Lab → · Contrast checker → · Palette generator →

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