#4E64E2#4E64E2

#4E64E2 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.8% C 0.192 H 271.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4E64E2
RGBrgb(78, 100, 226)
HSLhsl(231, 72%, 60%)
HSVhsv(231, 65%, 89%)
CMYKcmyk(65.5%, 55.8%, 0%, 11.4%)
CIE-LABlab(47.27, 31.58, -66.71)
CIE-LCHlch(47.27, 73.81, 295.33°)
OKLaboklab(55.76% 0.0043 -0.1919)
OKLCHoklch(55.76% 0.192 271.3)
XYZxyz(21.4219, 16.2231, 73.9392)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64E2 #E2CC4E
analogous
#4EAEE2 #4E64E2 #824EE2
triadic
#4E64E2 #E24E64 #64E24E
tetradic
#4E64E2 #E24EAE #E2CC4E #4EE282
square
#4E64E2 #E24EAE #E2CC4E #4EE282
split-complementary
#4E64E2 #E2824E #AEE24E
monochromatic
#1A2D9C #223CD1 #4E64E2 #8392EB #B7C0F3

Accessibility & contrast

On white

4.95
#4E64E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4E64E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64E2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64E2#FFFFFF#000000##FFFFFF
##4E64E21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e64e2;
/* rgb */ color: rgb(78, 100, 226);
/* oklch */ color: oklch(55.8% 0.192 271.3);
Tailwind
colors: {
  custom: {
    50: '#8f8fec',
    500: '#4e64e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e64e2;
$custom-light: #8f8fec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64e2",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 231.081,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55756,
    "c": 0.19198,
    "h": 271.3
  },
  "luminance": 0.16225
}

Semantic roles & 50–950 ramp

primary
#4E64E2
secondary
#E3DAA9
accent
#D439EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E64E2

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

Preview Lab → · Contrast checker → · Palette generator →

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