#4E64C8#4E64C8

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

Color values

HEX#4E64C8
RGBrgb(78, 100, 200)
HSLhsl(229, 53%, 55%)
HSVhsv(229, 61%, 78%)
CMYKcmyk(61%, 50%, 0%, 21.6%)
CIE-LABlab(45.50, 22.68, -54.73)
CIE-LCHlch(45.50, 59.25, 292.51°)
OKLaboklab(53.87% 0.0026 -0.1567)
OKLCHoklch(53.87% 0.157 271)
XYZxyz(18.1209, 14.9027, 56.5540)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64C8 #C8B24E
analogous
#4EA1C8 #4E64C8 #754EC8
triadic
#4E64C8 #C84E64 #64C84E
tetradic
#4E64C8 #C84EA1 #C8B24E #4EC875
square
#4E64C8 #C84EA1 #C8B24E #4EC875
split-complementary
#4E64C8 #C8754E #A1C84E
monochromatic
#253477 #3348A5 #4E64C8 #7D8DD7 #ABB6E5

Accessibility & contrast

On white

5.28
#4E64C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4E64C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64C8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64C8#FFFFFF#000000##FFFFFF
##4E64C81.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E71CC
Deuteranopia (green-blind)
#1267C6
Tritanopia (blue-blind)
#007B8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e64c8;
/* rgb */ color: rgb(78, 100, 200);
/* oklch */ color: oklch(53.9% 0.157 271.0);
Tailwind
colors: {
  custom: {
    50: '#8b8fd9',
    500: '#4e64c8',
    950: '#000000',
  },
}
SCSS
$custom: #4e64c8;
$custom-light: #8b8fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64c8",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 229.18,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53866,
    "c": 0.15669,
    "h": 271
  },
  "luminance": 0.14904
}

Semantic roles & 50–950 ramp

primary
#4E64C8
secondary
#D3C99F
accent
#C24CDC
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E64C8

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

Preview Lab → · Contrast checker → · Palette generator →

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