#4E64BA#4E64BA

#4E64BA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 52.9% C 0.137 H 270.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4E64BA
RGBrgb(78, 100, 186)
HSLhsl(228, 44%, 52%)
HSVhsv(228, 58%, 73%)
CMYKcmyk(58.1%, 46.2%, 0%, 27.1%)
CIE-LABlab(44.63, 17.92, -48.03)
CIE-LCHlch(44.63, 51.26, 290.47°)
OKLaboklab(52.92% 0.0009 -0.137)
OKLCHoklch(52.92% 0.137 270.4)
XYZxyz(16.5590, 14.2779, 48.3282)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64BA #BAA44E
analogous
#4E9ABA #4E64BA #6E4EBA
triadic
#4E64BA #BA4E64 #64BA4E
tetradic
#4E64BA #BA4E9A #BAA44E #4EBA6E
square
#4E64BA #BA4E9A #BAA44E #4EBA6E
split-complementary
#4E64BA #BA6E4E #9ABA4E
monochromatic
#283466 #394B92 #4E64BA #7A8BCB #A6B1DC

Accessibility & contrast

On white

5.45
#4E64BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4E64BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64BA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64BA#FFFFFF#000000##FFFFFF
##4E64BA1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBD
Deuteranopia (green-blind)
#2D65B8
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e64ba;
/* rgb */ color: rgb(78, 100, 186);
/* oklch */ color: oklch(52.9% 0.137 270.4);
Tailwind
colors: {
  custom: {
    50: '#888fcf',
    500: '#4e64ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e64ba;
$custom-light: #888fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64ba",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 186
  },
  "hsl": {
    "h": 227.778,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52923,
    "c": 0.13696,
    "h": 270.4
  },
  "luminance": 0.14279
}

Semantic roles & 50–950 ramp

primary
#4E64BA
secondary
#CAC09A
accent
#BA54D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4E64BA

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

Preview Lab → · Contrast checker → · Palette generator →

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