#4E64DE#4E64DE

#4E64DE is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.5% C 0.187 H 271.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4E64DE
RGBrgb(78, 100, 222)
HSLhsl(231, 69%, 59%)
HSVhsv(231, 65%, 87%)
CMYKcmyk(64.9%, 55%, 0%, 12.9%)
CIE-LABlab(46.98, 30.22, -64.91)
CIE-LCHlch(46.98, 71.60, 294.96°)
OKLaboklab(55.45% 0.0042 -0.1866)
OKLCHoklch(55.45% 0.187 271.3)
XYZxyz(20.8794, 16.0061, 71.0822)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64DE #DEC84E
analogous
#4EACDE #4E64DE #804EDE
triadic
#4E64DE #DE4E64 #64DE4E
tetradic
#4E64DE #DE4EAC #DEC84E #4EDE80
square
#4E64DE #DE4EAC #DEC84E #4EDE80
split-complementary
#4E64DE #DE804E #ACDE4E
monochromatic
#1C2F96 #263FC9 #4E64DE #8291E8 #B5BEF1

Accessibility & contrast

On white

5.00
#4E64DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4E64DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64DE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64DE#FFFFFF#000000##FFFFFF
##4E64DE1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e64de;
/* rgb */ color: rgb(78, 100, 222);
/* oklch */ color: oklch(55.5% 0.187 271.3);
Tailwind
colors: {
  custom: {
    50: '#8e8fe9',
    500: '#4e64de',
    950: '#000000',
  },
}
SCSS
$custom: #4e64de;
$custom-light: #8e8fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64de",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 222
  },
  "hsl": {
    "h": 230.833,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55454,
    "c": 0.18667,
    "h": 271.3
  },
  "luminance": 0.16008
}

Semantic roles & 50–950 ramp

primary
#4E64DE
secondary
#E0D8A8
accent
#D13CEB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E64DE

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

Preview Lab → · Contrast checker → · Palette generator →

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