#4E64D3#4E64D3

#4E64D3 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.6% C 0.172 H 271.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4E64D3
RGBrgb(78, 100, 211)
HSLhsl(230, 60%, 57%)
HSVhsv(230, 63%, 83%)
CMYKcmyk(63%, 52.6%, 0%, 17.3%)
CIE-LABlab(46.23, 26.45, -59.87)
CIE-LCHlch(46.23, 65.45, 293.83°)
OKLaboklab(54.65% 0.0036 -0.1718)
OKLCHoklch(54.65% 0.172 271.2)
XYZxyz(19.4530, 15.4355, 63.5696)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64D3 #D3BD4E
analogous
#4EA7D3 #4E64D3 #7B4ED3
triadic
#4E64D3 #D34E64 #64D34E
tetradic
#4E64D3 #D34EA7 #D3BD4E #4ED37B
square
#4E64D3 #D34EA7 #D3BD4E #4ED37B
split-complementary
#4E64D3 #D37B4E #A7D34E
monochromatic
#213285 #2D44B6 #4E64D3 #7F8FDF #B0BAEB

Accessibility & contrast

On white

5.14
#4E64D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4E64D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64D3
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64D3#FFFFFF#000000##FFFFFF
##4E64D31.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D74D7
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#007E92
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e64d3;
/* rgb */ color: rgb(78, 100, 211);
/* oklch */ color: oklch(54.6% 0.172 271.2);
Tailwind
colors: {
  custom: {
    50: '#8c8fe1',
    500: '#4e64d3',
    950: '#000000',
  },
}
SCSS
$custom: #4e64d3;
$custom-light: #8c8fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64d3",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 211
  },
  "hsl": {
    "h": 230.075,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54645,
    "c": 0.17184,
    "h": 271.2
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#4E64D3
secondary
#DAD1A3
accent
#C944E3
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E64D3

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

Preview Lab → · Contrast checker → · Palette generator →

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