#4D64CD#4D64CD

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

Color values

HEX#4D64CD
RGBrgb(77, 100, 205)
HSLhsl(229, 56%, 55%)
HSVhsv(229, 62%, 80%)
CMYKcmyk(62.4%, 51.2%, 0%, 19.6%)
CIE-LABlab(45.77, 24.22, -57.18)
CIE-LCHlch(45.77, 62.09, 292.96°)
OKLaboklab(54.16% 0.0021 -0.1639)
OKLCHoklch(54.16% 0.164 270.7)
XYZxyz(18.6335, 15.0983, 59.6781)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64CD #CDB64D
analogous
#4DA4CD #4D64CD #764DCD
triadic
#4D64CD #CD4D64 #64CD4D
tetradic
#4D64CD #CD4DA4 #CDB64D #4DCD76
square
#4D64CD #CD4DA4 #CDB64D #4DCD76
split-complementary
#4D64CD #CD764D #A4CD4D
monochromatic
#23337D #3047AC #4D64CD #7D8EDA #ADB7E8

Accessibility & contrast

On white

5.22
#4D64CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4D64CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64CD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64CD#FFFFFF#000000##FFFFFF
##4D64CD1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2772D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d64cd;
/* rgb */ color: rgb(77, 100, 205);
/* oklch */ color: oklch(54.2% 0.164 270.7);
Tailwind
colors: {
  custom: {
    50: '#8b8fdd',
    500: '#4d64cd',
    950: '#000000',
  },
}
SCSS
$custom: #4d64cd;
$custom-light: #8b8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64cd",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 229.219,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54158,
    "c": 0.1639,
    "h": 270.7
  },
  "luminance": 0.151
}

Semantic roles & 50–950 ramp

primary
#4D64CD
secondary
#D6CCA0
accent
#C448DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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