#4E64D8#4E64D8

#4E64D8 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.0% C 0.179 H 271.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4E64D8
RGBrgb(78, 100, 216)
HSLhsl(230, 64%, 58%)
HSVhsv(230, 64%, 85%)
CMYKcmyk(63.9%, 53.7%, 0%, 15.3%)
CIE-LABlab(46.57, 28.16, -62.17)
CIE-LCHlch(46.57, 68.26, 294.37°)
OKLaboklab(55.01% 0.0039 -0.1786)
OKLCHoklch(55.01% 0.179 271.2)
XYZxyz(20.0896, 15.6901, 66.9222)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64D8 #D8C24E
analogous
#4EA9D8 #4E64D8 #7D4ED8
triadic
#4E64D8 #D84E64 #64D84E
tetradic
#4E64D8 #D84EA9 #D8C24E #4ED87D
square
#4E64D8 #D84EA9 #D8C24E #4ED87D
split-complementary
#4E64D8 #D87D4E #A9D84E
monochromatic
#1F308D #2A42BF #4E64D8 #8090E3 #B2BCEE

Accessibility & contrast

On white

5.07
#4E64D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4E64D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64D8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64D8#FFFFFF#000000##FFFFFF
##4E64D81.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1075DC
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e64d8;
/* rgb */ color: rgb(78, 100, 216);
/* oklch */ color: oklch(55.0% 0.179 271.2);
Tailwind
colors: {
  custom: {
    50: '#8d8fe5',
    500: '#4e64d8',
    950: '#000000',
  },
}
SCSS
$custom: #4e64d8;
$custom-light: #8d8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64d8",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 230.435,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55009,
    "c": 0.17861,
    "h": 271.2
  },
  "luminance": 0.15692
}

Semantic roles & 50–950 ramp

primary
#4E64D8
secondary
#DDD4A5
accent
#CC41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4E64D8

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

Preview Lab → · Contrast checker → · Palette generator →

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