#4E64C9#4E64C9

#4E64C9 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.9% C 0.158 H 271.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4E64C9
RGBrgb(78, 100, 201)
HSLhsl(229, 53%, 55%)
HSVhsv(229, 61%, 79%)
CMYKcmyk(61.2%, 50.2%, 0%, 21.2%)
CIE-LABlab(45.57, 23.03, -55.20)
CIE-LCHlch(45.57, 59.81, 292.64°)
OKLaboklab(53.94% 0.0027 -0.1581)
OKLCHoklch(53.94% 0.158 271)
XYZxyz(18.2381, 14.9496, 57.1715)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64C9 #C9B34E
analogous
#4EA2C9 #4E64C9 #754EC9
triadic
#4E64C9 #C94E64 #64C94E
tetradic
#4E64C9 #C94EA2 #C9B34E #4EC975
square
#4E64C9 #C94EA2 #C9B34E #4EC975
split-complementary
#4E64C9 #C9754E #A2C94E
monochromatic
#253478 #3348A7 #4E64C9 #7D8DD7 #ACB6E6

Accessibility & contrast

On white

5.26
#4E64C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4E64C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64C9
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64C9#FFFFFF#000000##FFFFFF
##4E64C91.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D72CD
Deuteranopia (green-blind)
#0E67C7
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e64c9;
/* rgb */ color: rgb(78, 100, 201);
/* oklch */ color: oklch(53.9% 0.158 271.0);
Tailwind
colors: {
  custom: {
    50: '#8b8fda',
    500: '#4e64c9',
    950: '#000000',
  },
}
SCSS
$custom: #4e64c9;
$custom-light: #8b8fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64c9",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 201
  },
  "hsl": {
    "h": 229.268,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53936,
    "c": 0.15808,
    "h": 271
  },
  "luminance": 0.14951
}

Semantic roles & 50–950 ramp

primary
#4E64C9
secondary
#D3CA9F
accent
#C34BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E64C9

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

Preview Lab → · Contrast checker → · Palette generator →

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