#4E64D7#4E64D7

#4E64D7 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.9% C 0.177 H 271.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4E64D7
RGBrgb(78, 100, 215)
HSLhsl(230, 63%, 57%)
HSVhsv(230, 64%, 84%)
CMYKcmyk(63.7%, 53.5%, 0%, 15.7%)
CIE-LABlab(46.50, 27.82, -61.72)
CIE-LCHlch(46.50, 67.70, 294.26°)
OKLaboklab(54.94% 0.0038 -0.1772)
OKLCHoklch(54.94% 0.177 271.2)
XYZxyz(19.9607, 15.6386, 66.2435)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64D7 #D7C14E
analogous
#4EA9D7 #4E64D7 #7D4ED7
triadic
#4E64D7 #D74E64 #64D74E
tetradic
#4E64D7 #D74EA9 #D7C14E #4ED77D
square
#4E64D7 #D74EA9 #D7C14E #4ED77D
split-complementary
#4E64D7 #D77D4E #A9D74E
monochromatic
#1F318B #2B42BD #4E64D7 #8090E2 #B2BBEE

Accessibility & contrast

On white

5.09
#4E64D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4E64D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64D7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64D7#FFFFFF#000000##FFFFFF
##4E64D71.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1375DB
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e64d7;
/* rgb */ color: rgb(78, 100, 215);
/* oklch */ color: oklch(54.9% 0.177 271.2);
Tailwind
colors: {
  custom: {
    50: '#8d8fe4',
    500: '#4e64d7',
    950: '#000000',
  },
}
SCSS
$custom: #4e64d7;
$custom-light: #8d8fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64d7",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 215
  },
  "hsl": {
    "h": 230.365,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54936,
    "c": 0.17726,
    "h": 271.2
  },
  "luminance": 0.1564
}

Semantic roles & 50–950 ramp

primary
#4E64D7
secondary
#DCD3A5
accent
#CC42E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4E64D7

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

Preview Lab → · Contrast checker → · Palette generator →

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