#4D64C1#4D64C1

#4D64C1 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.3% C 0.147 H 270.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4D64C1
RGBrgb(77, 100, 193)
HSLhsl(228, 48%, 53%)
HSVhsv(228, 60%, 76%)
CMYKcmyk(60.1%, 48.2%, 0%, 24.3%)
CIE-LABlab(45.00, 20.11, -51.50)
CIE-LCHlch(45.00, 55.29, 291.33°)
OKLaboklab(53.33% 0.0008 -0.1472)
OKLCHoklch(53.33% 0.147 270.3)
XYZxyz(17.2402, 14.5410, 52.3399)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64C1 #C1AA4D
analogous
#4D9EC1 #4D64C1 #704DC1
triadic
#4D64C1 #C14D64 #64C14D
tetradic
#4D64C1 #C14D9E #C1AA4D #4DC170
square
#4D64C1 #C14D9E #C1AA4D #4DC170
split-complementary
#4D64C1 #C1704D #9EC14D
monochromatic
#26346D #364A9B #4D64C1 #7A8CD1 #A8B3E1

Accessibility & contrast

On white

5.37
#4D64C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4D64C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64C1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64C1#FFFFFF#000000##FFFFFF
##4D64C11.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3570C4
Deuteranopia (green-blind)
#2166BF
Tritanopia (blue-blind)
#007989
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d64c1;
/* rgb */ color: rgb(77, 100, 193);
/* oklch */ color: oklch(53.3% 0.147 270.3);
Tailwind
colors: {
  custom: {
    50: '#898fd4',
    500: '#4d64c1',
    950: '#000000',
  },
}
SCSS
$custom: #4d64c1;
$custom-light: #898fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64c1",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 193
  },
  "hsl": {
    "h": 228.103,
    "s": 48.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53328,
    "c": 0.14719,
    "h": 270.3
  },
  "luminance": 0.14542
}

Semantic roles & 50–950 ramp

primary
#4D64C1
secondary
#CEC49C
accent
#BD50D8
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4D64C1

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

Preview Lab → · Contrast checker → · Palette generator →

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