#4E64D9#4E64D9

#4E64D9 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.1% C 0.180 H 271.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4E64D9
RGBrgb(78, 100, 217)
HSLhsl(231, 65%, 58%)
HSVhsv(231, 64%, 85%)
CMYKcmyk(64.1%, 53.9%, 0%, 14.9%)
CIE-LABlab(46.63, 28.50, -62.63)
CIE-LCHlch(46.63, 68.81, 294.47°)
OKLaboklab(55.08% 0.0039 -0.1799)
OKLCHoklch(55.08% 0.18 271.3)
XYZxyz(20.2192, 15.7420, 67.6052)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64D9 #D9C34E
analogous
#4EA9D9 #4E64D9 #7E4ED9
triadic
#4E64D9 #D94E64 #64D94E
tetradic
#4E64D9 #D94EA9 #D9C34E #4ED97E
square
#4E64D9 #D94EA9 #D9C34E #4ED97E
split-complementary
#4E64D9 #D97E4E #A9D94E
monochromatic
#1F308E #2941C0 #4E64D9 #8090E4 #B3BCEF

Accessibility & contrast

On white

5.06
#4E64D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4E64D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64D9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64D9#FFFFFF#000000##FFFFFF
##4E64D91.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C75DD
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e64d9;
/* rgb */ color: rgb(78, 100, 217);
/* oklch */ color: oklch(55.1% 0.180 271.3);
Tailwind
colors: {
  custom: {
    50: '#8d8fe5',
    500: '#4e64d9',
    950: '#000000',
  },
}
SCSS
$custom: #4e64d9;
$custom-light: #8d8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64d9",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 230.504,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55083,
    "c": 0.17996,
    "h": 271.3
  },
  "luminance": 0.15744
}

Semantic roles & 50–950 ramp

primary
#4E64D9
secondary
#DDD4A6
accent
#CD40E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4E64D9

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

Preview Lab → · Contrast checker → · Palette generator →

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