#4D64D1#4D64D1

#4D64D1 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.4% C 0.169 H 270.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4D64D1
RGBrgb(77, 100, 209)
HSLhsl(230, 59%, 56%)
HSVhsv(230, 63%, 82%)
CMYKcmyk(63.2%, 52.2%, 0%, 18%)
CIE-LABlab(46.03, 25.59, -59.04)
CIE-LCHlch(46.03, 64.35, 293.44°)
OKLaboklab(54.44% 0.0024 -0.1694)
OKLCHoklch(54.44% 0.169 270.8)
XYZxyz(19.1225, 15.2939, 62.2535)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64D1 #D1BA4D
analogous
#4DA6D1 #4D64D1 #784DD1
triadic
#4D64D1 #D14D64 #64D14D
tetradic
#4D64D1 #D14DA6 #D1BA4D #4DD178
square
#4D64D1 #D14DA6 #D1BA4D #4DD178
split-complementary
#4D64D1 #D1784D #A6D14D
monochromatic
#223282 #2E45B3 #4D64D1 #7E8EDE #AEB9EA

Accessibility & contrast

On white

5.17
#4D64D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4D64D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64D1
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64D1#FFFFFF#000000##FFFFFF
##4D64D11.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2073D5
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#007E91
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d64d1;
/* rgb */ color: rgb(77, 100, 209);
/* oklch */ color: oklch(54.4% 0.169 270.8);
Tailwind
colors: {
  custom: {
    50: '#8c8fe0',
    500: '#4d64d1',
    950: '#000000',
  },
}
SCSS
$custom: #4d64d1;
$custom-light: #8c8fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64d1",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 209
  },
  "hsl": {
    "h": 229.545,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54443,
    "c": 0.16939,
    "h": 270.8
  },
  "luminance": 0.15296
}

Semantic roles & 50–950 ramp

primary
#4D64D1
secondary
#D8CFA2
accent
#C746E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D64D1

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

Preview Lab → · Contrast checker → · Palette generator →

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