#4E64BD#4E64BD

#4E64BD is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.1% C 0.141 H 270.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4E64BD
RGBrgb(78, 100, 189)
HSLhsl(228, 46%, 52%)
HSVhsv(228, 59%, 74%)
CMYKcmyk(58.7%, 47.1%, 0%, 25.9%)
CIE-LABlab(44.81, 18.94, -49.48)
CIE-LCHlch(44.81, 52.98, 290.95°)
OKLaboklab(53.12% 0.0013 -0.1412)
OKLCHoklch(53.12% 0.141 270.5)
XYZxyz(16.8813, 14.4068, 50.0255)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64BD #BDA74E
analogous
#4E9CBD #4E64BD #6F4EBD
triadic
#4E64BD #BD4E64 #64BD4E
tetradic
#4E64BD #BD4E9C #BDA74E #4EBD6F
square
#4E64BD #BD4E9C #BDA74E #4EBD6F
split-complementary
#4E64BD #BD6F4E #9CBD4E
monochromatic
#273469 #384B96 #4E64BD #7B8BCE #A7B2DE

Accessibility & contrast

On white

5.41
#4E64BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4E64BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64BD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64BD#FFFFFF#000000##FFFFFF
##4E64BD1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396FC0
Deuteranopia (green-blind)
#2865BB
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e64bd;
/* rgb */ color: rgb(78, 100, 189);
/* oklch */ color: oklch(53.1% 0.141 270.5);
Tailwind
colors: {
  custom: {
    50: '#898fd1',
    500: '#4e64bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e64bd;
$custom-light: #898fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64bd",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 189
  },
  "hsl": {
    "h": 228.108,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53121,
    "c": 0.14124,
    "h": 270.5
  },
  "luminance": 0.14408
}

Semantic roles & 50–950 ramp

primary
#4E64BD
secondary
#CCC29B
accent
#BB52D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4E64BD

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

Preview Lab → · Contrast checker → · Palette generator →

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