#4E64E1#4E64E1

#4E64E1 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.7% C 0.191 H 271.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4E64E1
RGBrgb(78, 100, 225)
HSLhsl(231, 71%, 59%)
HSVhsv(231, 65%, 88%)
CMYKcmyk(65.3%, 55.6%, 0%, 11.8%)
CIE-LABlab(47.19, 31.24, -66.26)
CIE-LCHlch(47.19, 73.26, 295.24°)
OKLaboklab(55.68% 0.0043 -0.1906)
OKLCHoklch(55.68% 0.191 271.3)
XYZxyz(21.2851, 16.1684, 73.2187)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64E1 #E1CB4E
analogous
#4EAEE1 #4E64E1 #814EE1
triadic
#4E64E1 #E14E64 #64E14E
tetradic
#4E64E1 #E14EAE #E1CB4E #4EE181
square
#4E64E1 #E14EAE #E1CB4E #4EE181
split-complementary
#4E64E1 #E1814E #AEE14E
monochromatic
#1A2D9A #233DCF #4E64E1 #8292EA #B7C0F3

Accessibility & contrast

On white

4.96
#4E64E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4E64E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64E1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64E1#FFFFFF#000000##FFFFFF
##4E64E11.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#006ADE
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e64e1;
/* rgb */ color: rgb(78, 100, 225);
/* oklch */ color: oklch(55.7% 0.191 271.3);
Tailwind
colors: {
  custom: {
    50: '#8f8feb',
    500: '#4e64e1',
    950: '#000000',
  },
}
SCSS
$custom: #4e64e1;
$custom-light: #8f8feb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64e1",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 225
  },
  "hsl": {
    "h": 231.02,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5568,
    "c": 0.19065,
    "h": 271.3
  },
  "luminance": 0.1617
}

Semantic roles & 50–950 ramp

primary
#4E64E1
secondary
#E2D9A9
accent
#D33AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E64E1

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

Preview Lab → · Contrast checker → · Palette generator →

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