#4E64D5#4E64D5

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

Color values

HEX#4E64D5
RGBrgb(78, 100, 213)
HSLhsl(230, 62%, 57%)
HSVhsv(230, 63%, 84%)
CMYKcmyk(63.4%, 53.1%, 0%, 16.5%)
CIE-LABlab(46.36, 27.13, -60.80)
CIE-LCHlch(46.36, 66.58, 294.05°)
OKLaboklab(54.79% 0.0037 -0.1745)
OKLCHoklch(54.79% 0.175 271.2)
XYZxyz(19.7053, 15.5364, 64.8983)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64D5 #D5BF4E
analogous
#4EA8D5 #4E64D5 #7B4ED5
triadic
#4E64D5 #D54E64 #64D54E
tetradic
#4E64D5 #D54EA8 #D5BF4E #4ED57B
square
#4E64D5 #D54EA8 #D5BF4E #4ED57B
split-complementary
#4E64D5 #D57B4E #A8D54E
monochromatic
#203188 #2C43BA #4E64D5 #7F8FE1 #B1BBEC

Accessibility & contrast

On white

5.11
#4E64D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4E64D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64D5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64D5#FFFFFF#000000##FFFFFF
##4E64D51.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1874D9
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#007F93
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e64d5;
/* rgb */ color: rgb(78, 100, 213);
/* oklch */ color: oklch(54.8% 0.175 271.2);
Tailwind
colors: {
  custom: {
    50: '#8d8fe3',
    500: '#4e64d5',
    950: '#000000',
  },
}
SCSS
$custom: #4e64d5;
$custom-light: #8d8fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64d5",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 213
  },
  "hsl": {
    "h": 230.222,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5479,
    "c": 0.17456,
    "h": 271.2
  },
  "luminance": 0.15538
}

Semantic roles & 50–950 ramp

primary
#4E64D5
secondary
#DBD2A4
accent
#CA43E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4E64D5

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

Preview Lab → · Contrast checker → · Palette generator →

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