#4E64D6#4E64D6

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

Color values

HEX#4E64D6
RGBrgb(78, 100, 214)
HSLhsl(230, 62%, 57%)
HSVhsv(230, 64%, 84%)
CMYKcmyk(63.6%, 53.3%, 0%, 16.1%)
CIE-LABlab(46.43, 27.48, -61.26)
CIE-LCHlch(46.43, 67.14, 294.16°)
OKLaboklab(54.86% 0.0038 -0.1759)
OKLCHoklch(54.86% 0.176 271.2)
XYZxyz(19.8326, 15.5873, 65.5688)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64D6 #D6C04E
analogous
#4EA8D6 #4E64D6 #7C4ED6
triadic
#4E64D6 #D64E64 #64D64E
tetradic
#4E64D6 #D64EA8 #D6C04E #4ED67C
square
#4E64D6 #D64EA8 #D6C04E #4ED67C
split-complementary
#4E64D6 #D67C4E #A8D64E
monochromatic
#20318A #2B43BB #4E64D6 #8090E2 #B1BBED

Accessibility & contrast

On white

5.10
#4E64D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4E64D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64D6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64D6#FFFFFF#000000##FFFFFF
##4E64D61.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1674DA
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#007F93
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e64d6;
/* rgb */ color: rgb(78, 100, 214);
/* oklch */ color: oklch(54.9% 0.176 271.2);
Tailwind
colors: {
  custom: {
    50: '#8d8fe3',
    500: '#4e64d6',
    950: '#000000',
  },
}
SCSS
$custom: #4e64d6;
$custom-light: #8d8fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64d6",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 214
  },
  "hsl": {
    "h": 230.294,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54863,
    "c": 0.17591,
    "h": 271.2
  },
  "luminance": 0.15589
}

Semantic roles & 50–950 ramp

primary
#4E64D6
secondary
#DBD3A4
accent
#CB42E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4E64D6

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

Preview Lab → · Contrast checker → · Palette generator →

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