#4E64DD#4E64DD

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

Color values

HEX#4E64DD
RGBrgb(78, 100, 221)
HSLhsl(231, 68%, 59%)
HSVhsv(231, 65%, 87%)
CMYKcmyk(64.7%, 54.8%, 0%, 13.3%)
CIE-LABlab(46.91, 29.87, -64.46)
CIE-LCHlch(46.91, 71.04, 294.87°)
OKLaboklab(55.38% 0.0041 -0.1853)
OKLCHoklch(55.38% 0.185 271.3)
XYZxyz(20.7458, 15.9526, 70.3785)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64DD #DDC74E
analogous
#4EABDD #4E64DD #7F4EDD
triadic
#4E64DD #DD4E64 #64DD4E
tetradic
#4E64DD #DD4EAB #DDC74E #4EDD7F
square
#4E64DD #DD4EAB #DDC74E #4EDD7F
split-complementary
#4E64DD #DD7F4E #ABDD4E
monochromatic
#1C2F94 #263FC7 #4E64DD #8191E7 #B5BEF1

Accessibility & contrast

On white

5.01
#4E64DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4E64DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64DD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64DD#FFFFFF#000000##FFFFFF
##4E64DD1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e64dd;
/* rgb */ color: rgb(78, 100, 221);
/* oklch */ color: oklch(55.4% 0.185 271.3);
Tailwind
colors: {
  custom: {
    50: '#8e8fe8',
    500: '#4e64dd',
    950: '#000000',
  },
}
SCSS
$custom: #4e64dd;
$custom-light: #8e8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64dd",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 230.769,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5538,
    "c": 0.18533,
    "h": 271.3
  },
  "luminance": 0.15955
}

Semantic roles & 50–950 ramp

primary
#4E64DD
secondary
#E0D7A7
accent
#D03DEB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E64DD

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

Preview Lab → · Contrast checker → · Palette generator →

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