#4D64DE#4D64DE

#4D64DE is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.4% C 0.187 H 271.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4D64DE
RGBrgb(77, 100, 222)
HSLhsl(230, 69%, 59%)
HSVhsv(230, 65%, 87%)
CMYKcmyk(65.3%, 55%, 0%, 12.9%)
CIE-LABlab(46.93, 30.06, -65.00)
CIE-LCHlch(46.93, 71.61, 294.82°)
OKLaboklab(55.4% 0.0032 -0.1869)
OKLCHoklch(55.4% 0.187 271)
XYZxyz(20.7981, 15.9642, 71.0784)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64DE #DEC74D
analogous
#4DACDE #4D64DE #7E4DDE
triadic
#4D64DE #DE4D64 #64DE4D
tetradic
#4D64DE #DE4DAC #DEC74D #4DDE7E
square
#4D64DE #DE4DAC #DEC74D #4DDE7E
split-complementary
#4D64DE #DE7E4D #ACDE4D
monochromatic
#1C2F95 #253FC9 #4D64DE #8191E8 #B4BEF1

Accessibility & contrast

On white

5.01
#4D64DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4D64DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64DE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64DE#FFFFFF#000000##FFFFFF
##4D64DE1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4d64de;
/* rgb */ color: rgb(77, 100, 222);
/* oklch */ color: oklch(55.4% 0.187 271.0);
Tailwind
colors: {
  custom: {
    50: '#8e8fe9',
    500: '#4d64de',
    950: '#000000',
  },
}
SCSS
$custom: #4d64de;
$custom-light: #8e8fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64de",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 222
  },
  "hsl": {
    "h": 230.483,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55399,
    "c": 0.18694,
    "h": 271
  },
  "luminance": 0.15966
}

Semantic roles & 50–950 ramp

primary
#4D64DE
secondary
#E0D7A7
accent
#D03CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4D64DE

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

Preview Lab → · Contrast checker → · Palette generator →

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