#4E64AF#4E64AF

#4E64AF is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.2% C 0.121 H 269.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4E64AF
RGBrgb(78, 100, 175)
HSLhsl(226, 38%, 50%)
HSVhsv(226, 55%, 69%)
CMYKcmyk(55.4%, 42.9%, 0%, 31.4%)
CIE-LABlab(43.99, 14.23, -42.63)
CIE-LCHlch(43.99, 44.94, 288.46°)
OKLaboklab(52.22% -0.001 -0.1211)
OKLCHoklch(52.22% 0.121 269.5)
XYZxyz(15.4344, 13.8281, 42.4049)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64AF #AF994E
analogous
#4E95AF #4E64AF #694EAF
triadic
#4E64AF #AF4E64 #64AF4E
tetradic
#4E64AF #AF4E95 #AF994E #4EAF69
square
#4E64AF #AF4E95 #AF994E #4EAF69
split-complementary
#4E64AF #AF694E #95AF4E
monochromatic
#28345A #3B4C85 #4E64AF #7889C3 #A2AED6

Accessibility & contrast

On white

5.58
#4E64AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4E64AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64AF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64AF#FFFFFF#000000##FFFFFF
##4E64AF1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446DB2
Deuteranopia (green-blind)
#3864AD
Tritanopia (blue-blind)
#187481
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e64af;
/* rgb */ color: rgb(78, 100, 175);
/* oklch */ color: oklch(52.2% 0.121 269.5);
Tailwind
colors: {
  custom: {
    50: '#878fc7',
    500: '#4e64af',
    950: '#000000',
  },
}
SCSS
$custom: #4e64af;
$custom-light: #878fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64af",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 175
  },
  "hsl": {
    "h": 226.392,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52223,
    "c": 0.12113,
    "h": 269.5
  },
  "luminance": 0.13829
}

Semantic roles & 50–950 ramp

primary
#4E64AF
secondary
#C3B996
accent
#B45ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E64AF

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

Preview Lab → · Contrast checker → · Palette generator →

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