#4D64CF#4D64CF

#4D64CF is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.3% C 0.167 H 270.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4D64CF
RGBrgb(77, 100, 207)
HSLhsl(229, 58%, 56%)
HSVhsv(229, 63%, 81%)
CMYKcmyk(62.8%, 51.7%, 0%, 18.8%)
CIE-LABlab(45.90, 24.90, -58.11)
CIE-LCHlch(45.90, 63.22, 293.20°)
OKLaboklab(54.3% 0.0022 -0.1666)
OKLCHoklch(54.3% 0.167 270.8)
XYZxyz(18.8764, 15.1955, 60.9577)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64CF #CFB84D
analogous
#4DA5CF #4D64CF #774DCF
triadic
#4D64CF #CF4D64 #64CF4D
tetradic
#4D64CF #CF4DA5 #CFB84D #4DCF77
square
#4D64CF #CF4DA5 #CFB84D #4DCF77
split-complementary
#4D64CF #CF774D #A5CF4D
monochromatic
#22337F #2F46AF #4D64CF #7D8EDC #ADB8E9

Accessibility & contrast

On white

5.20
#4D64CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4D64CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64CF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64CF#FFFFFF#000000##FFFFFF
##4D64CF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2473D3
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#007D90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d64cf;
/* rgb */ color: rgb(77, 100, 207);
/* oklch */ color: oklch(54.3% 0.167 270.8);
Tailwind
colors: {
  custom: {
    50: '#8b8fde',
    500: '#4d64cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d64cf;
$custom-light: #8b8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64cf",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 229.385,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.543,
    "c": 0.16666,
    "h": 270.8
  },
  "luminance": 0.15197
}

Semantic roles & 50–950 ramp

primary
#4D64CF
secondary
#D7CDA1
accent
#C647E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D64CF

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

Preview Lab → · Contrast checker → · Palette generator →

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