#4E64AB#4E64AB

#4E64AB is a mid, moderate blue. Relative luminance 0.137; OKLCH L 52.0% C 0.115 H 269.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4E64AB
RGBrgb(78, 100, 171)
HSLhsl(226, 37%, 49%)
HSVhsv(226, 54%, 67%)
CMYKcmyk(54.4%, 41.5%, 0%, 32.9%)
CIE-LABlab(43.76, 12.90, -40.64)
CIE-LCHlch(43.76, 42.64, 287.61°)
OKLaboklab(51.98% -0.0017 -0.1153)
OKLCHoklch(51.98% 0.115 269.1)
XYZxyz(15.0473, 13.6732, 40.3665)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64AB #AB954E
analogous
#4E93AB #4E64AB #674EAB
triadic
#4E64AB #AB4E64 #64AB4E
tetradic
#4E64AB #AB4E93 #AB954E #4EAB67
square
#4E64AB #AB4E93 #AB954E #4EAB67
split-complementary
#4E64AB #AB674E #93AB4E
monochromatic
#283357 #3B4B81 #4E64AB #7687C0 #A0ACD4

Accessibility & contrast

On white

5.62
#4E64AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4E64AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64AB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64AB#FFFFFF#000000##FFFFFF
##4E64AB1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476CAE
Deuteranopia (green-blind)
#3C64A9
Tritanopia (blue-blind)
#1E737F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e64ab;
/* rgb */ color: rgb(78, 100, 171);
/* oklch */ color: oklch(52.0% 0.115 269.1);
Tailwind
colors: {
  custom: {
    50: '#868fc4',
    500: '#4e64ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e64ab;
$custom-light: #868fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64ab",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 171
  },
  "hsl": {
    "h": 225.806,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51977,
    "c": 0.1153,
    "h": 269.1
  },
  "luminance": 0.13674
}

Semantic roles & 50–950 ramp

primary
#4E64AB
secondary
#C1B694
accent
#B25ACD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E64AB

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

Preview Lab → · Contrast checker → · Palette generator →

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