#4D64E1#4D64E1

#4D64E1 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.6% C 0.191 H 271.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4D64E1
RGBrgb(77, 100, 225)
HSLhsl(231, 71%, 59%)
HSVhsv(231, 66%, 88%)
CMYKcmyk(65.8%, 55.6%, 0%, 11.8%)
CIE-LABlab(47.14, 31.09, -66.36)
CIE-LCHlch(47.14, 73.28, 295.11°)
OKLaboklab(55.63% 0.0033 -0.1909)
OKLCHoklch(55.63% 0.191 271)
XYZxyz(21.2038, 16.1264, 73.2148)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64E1 #E1CA4D
analogous
#4DAEE1 #4D64E1 #804DE1
triadic
#4D64E1 #E14D64 #64E14D
tetradic
#4D64E1 #E14DAE #E1CA4D #4DE180
square
#4D64E1 #E14DAE #E1CA4D #4DE180
split-complementary
#4D64E1 #E1804D #AEE14D
monochromatic
#1A2E9A #233DCE #4D64E1 #8192EA #B6BFF3

Accessibility & contrast

On white

4.97
#4D64E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4D64E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64E1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64E1#FFFFFF#000000##FFFFFF
##4D64E11.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d64e1;
/* rgb */ color: rgb(77, 100, 225);
/* oklch */ color: oklch(55.6% 0.191 271.0);
Tailwind
colors: {
  custom: {
    50: '#8e8feb',
    500: '#4d64e1',
    950: '#000000',
  },
}
SCSS
$custom: #4d64e1;
$custom-light: #8e8feb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64e1",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 225
  },
  "hsl": {
    "h": 230.676,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55625,
    "c": 0.19092,
    "h": 271
  },
  "luminance": 0.16128
}

Semantic roles & 50–950 ramp

primary
#4D64E1
secondary
#E2D9A8
accent
#D23AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4D64E1

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

Preview Lab → · Contrast checker → · Palette generator →

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