#4E64D4#4E64D4

#4E64D4 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.7% C 0.173 H 271.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4E64D4
RGBrgb(78, 100, 212)
HSLhsl(230, 61%, 57%)
HSVhsv(230, 63%, 83%)
CMYKcmyk(63.2%, 52.8%, 0%, 16.9%)
CIE-LABlab(46.29, 26.79, -60.34)
CIE-LCHlch(46.29, 66.02, 293.94°)
OKLaboklab(54.72% 0.0036 -0.1732)
OKLCHoklch(54.72% 0.173 271.2)
XYZxyz(19.5787, 15.4858, 64.2319)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64D4 #D4BE4E
analogous
#4EA7D4 #4E64D4 #7B4ED4
triadic
#4E64D4 #D44E64 #64D44E
tetradic
#4E64D4 #D44EA7 #D4BE4E #4ED47B
square
#4E64D4 #D44EA7 #D4BE4E #4ED47B
split-complementary
#4E64D4 #D47B4E #A7D44E
monochromatic
#213287 #2D44B8 #4E64D4 #7F8FE0 #B0BAEC

Accessibility & contrast

On white

5.12
#4E64D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4E64D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64D4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64D4#FFFFFF#000000##FFFFFF
##4E64D41.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B74D8
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#007E92
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e64d4;
/* rgb */ color: rgb(78, 100, 212);
/* oklch */ color: oklch(54.7% 0.173 271.2);
Tailwind
colors: {
  custom: {
    50: '#8d8fe2',
    500: '#4e64d4',
    950: '#000000',
  },
}
SCSS
$custom: #4e64d4;
$custom-light: #8d8fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64d4",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 212
  },
  "hsl": {
    "h": 230.149,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54717,
    "c": 0.1732,
    "h": 271.2
  },
  "luminance": 0.15488
}

Semantic roles & 50–950 ramp

primary
#4E64D4
secondary
#DAD1A4
accent
#CA44E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E64D4

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

Preview Lab → · Contrast checker → · Palette generator →

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