#4E64E6#4E64E6

#4E64E6 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.1% C 0.197 H 271.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4E64E6
RGBrgb(78, 100, 230)
HSLhsl(231, 75%, 60%)
HSVhsv(231, 66%, 90%)
CMYKcmyk(66.1%, 56.5%, 0%, 9.8%)
CIE-LABlab(47.55, 32.95, -68.51)
CIE-LCHlch(47.55, 76.02, 295.69°)
OKLaboklab(56.06% 0.0045 -0.1972)
OKLCHoklch(56.06% 0.197 271.3)
XYZxyz(21.9772, 16.4452, 76.8636)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64E6 #E6D04E
analogous
#4EB0E6 #4E64E6 #844EE6
triadic
#4E64E6 #E64E64 #64E64E
tetradic
#4E64E6 #E64EB0 #E6D04E #4EE684
square
#4E64E6 #E64EB0 #E6D04E #4EE684
split-complementary
#4E64E6 #E6844E #B0E64E
monochromatic
#172BA3 #1F39D8 #4E64E6 #8493EE #B9C2F5

Accessibility & contrast

On white

4.90
#4E64E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4E64E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64E6
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64E6#FFFFFF#000000##FFFFFF
##4E64E61.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#006AE3
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e64e6;
/* rgb */ color: rgb(78, 100, 230);
/* oklch */ color: oklch(56.1% 0.197 271.3);
Tailwind
colors: {
  custom: {
    50: '#9090ef',
    500: '#4e64e6',
    950: '#000000',
  },
}
SCSS
$custom: #4e64e6;
$custom-light: #9090ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64e6",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 230
  },
  "hsl": {
    "h": 231.316,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56061,
    "c": 0.19725,
    "h": 271.3
  },
  "luminance": 0.16447
}

Semantic roles & 50–950 ramp

primary
#4E64E6
secondary
#E5DDAB
accent
#BA0ED7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4E64E6

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

Preview Lab → · Contrast checker → · Palette generator →

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