#4E64B7#4E64B7

#4E64B7 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.7% C 0.133 H 270.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4E64B7
RGBrgb(78, 100, 183)
HSLhsl(227, 42%, 51%)
HSVhsv(227, 57%, 72%)
CMYKcmyk(57.4%, 45.4%, 0%, 28.2%)
CIE-LABlab(44.45, 16.91, -46.57)
CIE-LCHlch(44.45, 49.54, 289.96°)
OKLaboklab(52.73% 0.0004 -0.1327)
OKLCHoklch(52.73% 0.133 270.2)
XYZxyz(16.2435, 14.1517, 46.6661)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64B7 #B7A14E
analogous
#4E98B7 #4E64B7 #6C4EB7
triadic
#4E64B7 #B74E64 #64B74E
tetradic
#4E64B7 #B74E98 #B7A14E #4EB76C
square
#4E64B7 #B74E98 #B7A14E #4EB76C
split-complementary
#4E64B7 #B76C4E #98B74E
monochromatic
#283463 #3A4B8E #4E64B7 #7A8AC9 #A5B0DA

Accessibility & contrast

On white

5.48
#4E64B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4E64B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64B7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64B7#FFFFFF#000000##FFFFFF
##4E64B71.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6EBA
Deuteranopia (green-blind)
#3065B5
Tritanopia (blue-blind)
#047684
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e64b7;
/* rgb */ color: rgb(78, 100, 183);
/* oklch */ color: oklch(52.7% 0.133 270.2);
Tailwind
colors: {
  custom: {
    50: '#888fcd',
    500: '#4e64b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e64b7;
$custom-light: #888fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64b7",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 183
  },
  "hsl": {
    "h": 227.429,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52729,
    "c": 0.13267,
    "h": 270.2
  },
  "luminance": 0.14153
}

Semantic roles & 50–950 ramp

primary
#4E64B7
secondary
#C8BE99
accent
#B856D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E64B7

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

Preview Lab → · Contrast checker → · Palette generator →

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