#4E64A1#4E64A1

#4E64A1 is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.4% C 0.101 H 267.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4E64A1
RGBrgb(78, 100, 161)
HSLhsl(224, 35%, 47%)
HSVhsv(224, 52%, 63%)
CMYKcmyk(51.6%, 37.9%, 0%, 36.9%)
CIE-LABlab(43.22, 9.61, -35.59)
CIE-LCHlch(43.22, 36.87, 285.11°)
OKLaboklab(51.39% -0.0039 -0.1005)
OKLCHoklch(51.39% 0.101 267.8)
XYZxyz(14.1300, 13.3063, 35.5351)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64A1 #A18B4E
analogous
#4E8EA1 #4E64A1 #624EA1
triadic
#4E64A1 #A14E64 #64A14E
tetradic
#4E64A1 #A14E8E #A18B4E #4EA162
square
#4E64A1 #A14E8E #A18B4E #4EA162
split-complementary
#4E64A1 #A1624E #8EA14E
monochromatic
#26314F #3A4A78 #4E64A1 #7285BB #9BA9CF

Accessibility & contrast

On white

5.74
#4E64A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4E64A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64A1
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64A1#FFFFFF#000000##FFFFFF
##4E64A11.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6AA3
Deuteranopia (green-blind)
#4363A0
Tritanopia (blue-blind)
#29717B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e64a1;
/* rgb */ color: rgb(78, 100, 161);
/* oklch */ color: oklch(51.4% 0.101 267.8);
Tailwind
colors: {
  custom: {
    50: '#858fbd',
    500: '#4e64a1',
    950: '#000000',
  },
}
SCSS
$custom: #4e64a1;
$custom-light: #858fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64a1",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 161
  },
  "hsl": {
    "h": 224.096,
    "s": 34.728,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51386,
    "c": 0.10062,
    "h": 267.8
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#4E64A1
secondary
#BBB090
accent
#AE5DCB
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4E64A1

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

Preview Lab → · Contrast checker → · Palette generator →

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