#4D64C5#4D64C5

#4D64C5 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.6% C 0.153 H 270.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4D64C5
RGBrgb(77, 100, 197)
HSLhsl(229, 51%, 54%)
HSVhsv(229, 61%, 77%)
CMYKcmyk(60.9%, 49.2%, 0%, 22.7%)
CIE-LABlab(45.25, 21.47, -53.41)
CIE-LCHlch(45.25, 57.56, 291.90°)
OKLaboklab(53.6% 0.0013 -0.1528)
OKLCHoklch(53.6% 0.153 270.5)
XYZxyz(17.6924, 14.7219, 54.7218)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64C5 #C5AE4D
analogous
#4DA0C5 #4D64C5 #724DC5
triadic
#4D64C5 #C54D64 #64C54D
tetradic
#4D64C5 #C54DA0 #C5AE4D #4DC572
square
#4D64C5 #C54DA0 #C5AE4D #4DC572
split-complementary
#4D64C5 #C5724D #A0C54D
monochromatic
#253472 #3449A0 #4D64C5 #7B8CD4 #A9B4E3

Accessibility & contrast

On white

5.32
#4D64C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4D64C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64C5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64C5#FFFFFF#000000##FFFFFF
##4D64C51.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3171C9
Deuteranopia (green-blind)
#1966C3
Tritanopia (blue-blind)
#007A8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d64c5;
/* rgb */ color: rgb(77, 100, 197);
/* oklch */ color: oklch(53.6% 0.153 270.5);
Tailwind
colors: {
  custom: {
    50: '#8a8fd7',
    500: '#4d64c5',
    950: '#000000',
  },
}
SCSS
$custom: #4d64c5;
$custom-light: #8a8fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64c5",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 197
  },
  "hsl": {
    "h": 228.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.536,
    "c": 0.15281,
    "h": 270.5
  },
  "luminance": 0.14723
}

Semantic roles & 50–950 ramp

primary
#4D64C5
secondary
#D1C79D
accent
#BF4DDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #4D64C5

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

Preview Lab → · Contrast checker → · Palette generator →

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