#4D64CA#4D64CA

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

Color values

HEX#4D64CA
RGBrgb(77, 100, 202)
HSLhsl(229, 54%, 55%)
HSVhsv(229, 62%, 79%)
CMYKcmyk(61.9%, 50.5%, 0%, 20.8%)
CIE-LABlab(45.57, 23.19, -55.77)
CIE-LCHlch(45.57, 60.40, 292.58°)
OKLaboklab(53.95% 0.0018 -0.1597)
OKLCHoklch(53.95% 0.16 270.6)
XYZxyz(18.2748, 14.9548, 57.7892)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64CA #CAB34D
analogous
#4DA3CA #4D64CA #754DCA
triadic
#4D64CA #CA4D64 #64CA4D
tetradic
#4D64CA #CA4DA3 #CAB34D #4DCA75
square
#4D64CA #CA4DA3 #CAB34D #4DCA75
split-complementary
#4D64CA #CA754D #A3CA4D
monochromatic
#243479 #3248A8 #4D64CA #7C8DD8 #ABB6E6

Accessibility & contrast

On white

5.26
#4D64CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4D64CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64CA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64CA#FFFFFF#000000##FFFFFF
##4D64CA1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CE
Deuteranopia (green-blind)
#0867C8
Tritanopia (blue-blind)
#007C8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d64ca;
/* rgb */ color: rgb(77, 100, 202);
/* oklch */ color: oklch(53.9% 0.160 270.6);
Tailwind
colors: {
  custom: {
    50: '#8a8fdb',
    500: '#4d64ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d64ca;
$custom-light: #8a8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64ca",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 228.96,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53947,
    "c": 0.15976,
    "h": 270.6
  },
  "luminance": 0.14956
}

Semantic roles & 50–950 ramp

primary
#4D64CA
secondary
#D4CA9F
accent
#C24ADD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D64CA

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

Preview Lab → · Contrast checker → · Palette generator →

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