#4E64B2#4E64B2

#4E64B2 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.4% C 0.125 H 269.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4E64B2
RGBrgb(78, 100, 178)
HSLhsl(227, 39%, 50%)
HSVhsv(227, 56%, 70%)
CMYKcmyk(56.2%, 43.8%, 0%, 30.2%)
CIE-LABlab(44.16, 15.23, -44.12)
CIE-LCHlch(44.16, 46.67, 289.05°)
OKLaboklab(52.41% -0.0004 -0.1255)
OKLCHoklch(52.41% 0.125 269.8)
XYZxyz(15.7323, 13.9472, 43.9739)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64B2 #B29C4E
analogous
#4E96B2 #4E64B2 #6A4EB2
triadic
#4E64B2 #B24E64 #64B24E
tetradic
#4E64B2 #B24E96 #B29C4E #4EB26A
square
#4E64B2 #B24E96 #B29C4E #4EB26A
split-complementary
#4E64B2 #B26A4E #96B24E
monochromatic
#29345D #3B4C88 #4E64B2 #7989C5 #A3AFD7

Accessibility & contrast

On white

5.54
#4E64B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4E64B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64B2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64B2#FFFFFF#000000##FFFFFF
##4E64B21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426DB5
Deuteranopia (green-blind)
#3564B0
Tritanopia (blue-blind)
#137582
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e64b2;
/* rgb */ color: rgb(78, 100, 178);
/* oklch */ color: oklch(52.4% 0.125 269.8);
Tailwind
colors: {
  custom: {
    50: '#878fc9',
    500: '#4e64b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e64b2;
$custom-light: #878fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64b2",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 226.8,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5241,
    "c": 0.12547,
    "h": 269.8
  },
  "luminance": 0.13948
}

Semantic roles & 50–950 ramp

primary
#4E64B2
secondary
#C4BA98
accent
#B559CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E64B2

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

Preview Lab → · Contrast checker → · Palette generator →

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