#4D64C6#4D64C6

#4D64C6 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.7% C 0.154 H 270.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4D64C6
RGBrgb(77, 100, 198)
HSLhsl(229, 51%, 54%)
HSVhsv(229, 61%, 78%)
CMYKcmyk(61.1%, 49.5%, 0%, 22.4%)
CIE-LABlab(45.31, 21.82, -53.88)
CIE-LCHlch(45.31, 58.13, 292.04°)
OKLaboklab(53.67% 0.0014 -0.1542)
OKLCHoklch(53.67% 0.154 270.5)
XYZxyz(17.8074, 14.7679, 55.3272)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64C6 #C6AF4D
analogous
#4DA1C6 #4D64C6 #734DC6
triadic
#4D64C6 #C64D64 #64C64D
tetradic
#4D64C6 #C64DA1 #C6AF4D #4DC673
square
#4D64C6 #C64DA1 #C6AF4D #4DC673
split-complementary
#4D64C6 #C6734D #A1C64D
monochromatic
#253474 #3449A2 #4D64C6 #7B8CD5 #AAB5E4

Accessibility & contrast

On white

5.31
#4D64C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4D64C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64C6
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64C6#FFFFFF#000000##FFFFFF
##4D64C61.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3071CA
Deuteranopia (green-blind)
#1666C4
Tritanopia (blue-blind)
#007A8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d64c6;
/* rgb */ color: rgb(77, 100, 198);
/* oklch */ color: oklch(53.7% 0.154 270.5);
Tailwind
colors: {
  custom: {
    50: '#8a8fd8',
    500: '#4d64c6',
    950: '#000000',
  },
}
SCSS
$custom: #4d64c6;
$custom-light: #8a8fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64c6",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 198
  },
  "hsl": {
    "h": 228.595,
    "s": 51.489,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53669,
    "c": 0.1542,
    "h": 270.5
  },
  "luminance": 0.14769
}

Semantic roles & 50–950 ramp

primary
#4D64C6
secondary
#D1C79E
accent
#C04DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #4D64C6

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

Preview Lab → · Contrast checker → · Palette generator →

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