#4D64C9#4D64C9

#4D64C9 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.9% C 0.158 H 270.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4D64C9
RGBrgb(77, 100, 201)
HSLhsl(229, 53%, 55%)
HSVhsv(229, 62%, 79%)
CMYKcmyk(61.7%, 50.2%, 0%, 21.2%)
CIE-LABlab(45.51, 22.85, -55.30)
CIE-LCHlch(45.51, 59.83, 292.45°)
OKLaboklab(53.88% 0.0017 -0.1584)
OKLCHoklch(53.88% 0.158 270.6)
XYZxyz(18.1568, 14.9076, 57.1677)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64C9 #C9B24D
analogous
#4DA2C9 #4D64C9 #744DC9
triadic
#4D64C9 #C94D64 #64C94D
tetradic
#4D64C9 #C94DA2 #C9B24D #4DC974
square
#4D64C9 #C94DA2 #C9B24D #4DC974
split-complementary
#4D64C9 #C9744D #A2C94D
monochromatic
#243477 #3248A6 #4D64C9 #7C8DD7 #ABB6E5

Accessibility & contrast

On white

5.27
#4D64C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4D64C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64C9
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64C9#FFFFFF#000000##FFFFFF
##4D64C91.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D71CD
Deuteranopia (green-blind)
#0C66C7
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d64c9;
/* rgb */ color: rgb(77, 100, 201);
/* oklch */ color: oklch(53.9% 0.158 270.6);
Tailwind
colors: {
  custom: {
    50: '#8a8fda',
    500: '#4d64c9',
    950: '#000000',
  },
}
SCSS
$custom: #4d64c9;
$custom-light: #8a8fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64c9",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 201
  },
  "hsl": {
    "h": 228.871,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53877,
    "c": 0.15838,
    "h": 270.6
  },
  "luminance": 0.14909
}

Semantic roles & 50–950 ramp

primary
#4D64C9
secondary
#D3C99F
accent
#C24BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D64C9

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

Preview Lab → · Contrast checker → · Palette generator →

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