#4E64E0#4E64E0

#4E64E0 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.6% C 0.189 H 271.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4E64E0
RGBrgb(78, 100, 224)
HSLhsl(231, 70%, 59%)
HSVhsv(231, 65%, 88%)
CMYKcmyk(65.2%, 55.4%, 0%, 12.2%)
CIE-LABlab(47.12, 30.90, -65.81)
CIE-LCHlch(47.12, 72.71, 295.15°)
OKLaboklab(55.61% 0.0043 -0.1893)
OKLCHoklch(55.61% 0.189 271.3)
XYZxyz(21.1491, 16.1139, 72.5023)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64E0 #E0CA4E
analogous
#4EADE0 #4E64E0 #814EE0
triadic
#4E64E0 #E04E64 #64E04E
tetradic
#4E64E0 #E04EAD #E0CA4E #4EE081
square
#4E64E0 #E04EAD #E0CA4E #4EE081
split-complementary
#4E64E0 #E0814E #ADE04E
monochromatic
#1B2E99 #243DCD #4E64E0 #8292E9 #B6BFF2

Accessibility & contrast

On white

4.97
#4E64E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4E64E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64E0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64E0#FFFFFF#000000##FFFFFF
##4E64E01.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E4
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e64e0;
/* rgb */ color: rgb(78, 100, 224);
/* oklch */ color: oklch(55.6% 0.189 271.3);
Tailwind
colors: {
  custom: {
    50: '#8f8fea',
    500: '#4e64e0',
    950: '#000000',
  },
}
SCSS
$custom: #4e64e0;
$custom-light: #8f8fea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64e0",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 224
  },
  "hsl": {
    "h": 230.959,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55605,
    "c": 0.18933,
    "h": 271.3
  },
  "luminance": 0.16116
}

Semantic roles & 50–950 ramp

primary
#4E64E0
secondary
#E1D9A8
accent
#D23BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E64E0

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

Preview Lab → · Contrast checker → · Palette generator →

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