#4D64CE#4D64CE

#4D64CE is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.2% C 0.165 H 270.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4D64CE
RGBrgb(77, 100, 206)
HSLhsl(229, 57%, 55%)
HSVhsv(229, 63%, 81%)
CMYKcmyk(62.6%, 51.5%, 0%, 19.2%)
CIE-LABlab(45.83, 24.56, -57.64)
CIE-LCHlch(45.83, 62.66, 293.08°)
OKLaboklab(54.23% 0.0022 -0.1653)
OKLCHoklch(54.23% 0.165 270.7)
XYZxyz(18.7546, 15.1467, 60.3158)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64CE #CEB74D
analogous
#4DA5CE #4D64CE #764DCE
triadic
#4D64CE #CE4D64 #64CE4D
tetradic
#4D64CE #CE4DA5 #CEB74D #4DCE76
square
#4D64CE #CE4DA5 #CEB74D #4DCE76
split-complementary
#4D64CE #CE764D #A5CE4D
monochromatic
#23337E #3046AE #4D64CE #7D8EDB #ADB8E8

Accessibility & contrast

On white

5.21
#4D64CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4D64CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64CE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64CE#FFFFFF#000000##FFFFFF
##4D64CE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2673D2
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d64ce;
/* rgb */ color: rgb(77, 100, 206);
/* oklch */ color: oklch(54.2% 0.165 270.7);
Tailwind
colors: {
  custom: {
    50: '#8b8fde',
    500: '#4d64ce',
    950: '#000000',
  },
}
SCSS
$custom: #4d64ce;
$custom-light: #8b8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64ce",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 206
  },
  "hsl": {
    "h": 229.302,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54229,
    "c": 0.16527,
    "h": 270.7
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#4D64CE
secondary
#D6CDA1
accent
#C548E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D64CE

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

Preview Lab → · Contrast checker → · Palette generator →

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