#4E64C7#4E64C7

#4E64C7 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.8% C 0.155 H 270.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4E64C7
RGBrgb(78, 100, 199)
HSLhsl(229, 52%, 54%)
HSVhsv(229, 61%, 78%)
CMYKcmyk(60.8%, 49.7%, 0%, 22%)
CIE-LABlab(45.44, 22.34, -54.26)
CIE-LCHlch(45.44, 58.68, 292.38°)
OKLaboklab(53.8% 0.0025 -0.1553)
OKLCHoklch(53.8% 0.155 270.9)
XYZxyz(18.0044, 14.8561, 55.9405)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64C7 #C7B14E
analogous
#4EA1C7 #4E64C7 #754EC7
triadic
#4E64C7 #C74E64 #64C74E
tetradic
#4E64C7 #C74EA1 #C7B14E #4EC775
square
#4E64C7 #C74EA1 #C7B14E #4EC775
split-complementary
#4E64C7 #C7754E #A1C74E
monochromatic
#253475 #3448A4 #4E64C7 #7C8DD6 #ABB5E4

Accessibility & contrast

On white

5.29
#4E64C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4E64C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64C7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64C7#FFFFFF#000000##FFFFFF
##4E64C71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F71CB
Deuteranopia (green-blind)
#1566C5
Tritanopia (blue-blind)
#007B8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e64c7;
/* rgb */ color: rgb(78, 100, 199);
/* oklch */ color: oklch(53.8% 0.155 270.9);
Tailwind
colors: {
  custom: {
    50: '#8a8fd9',
    500: '#4e64c7',
    950: '#000000',
  },
}
SCSS
$custom: #4e64c7;
$custom-light: #8a8fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64c7",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 199
  },
  "hsl": {
    "h": 229.091,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53797,
    "c": 0.1553,
    "h": 270.9
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#4E64C7
secondary
#D2C99F
accent
#C14CDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E64C7

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

Preview Lab → · Contrast checker → · Palette generator →

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