#4D64D3#4D64D3

#4D64D3 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.6% C 0.172 H 270.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4D64D3
RGBrgb(77, 100, 211)
HSLhsl(230, 60%, 56%)
HSVhsv(230, 64%, 83%)
CMYKcmyk(63.5%, 52.6%, 0%, 17.3%)
CIE-LABlab(46.17, 26.28, -59.97)
CIE-LCHlch(46.17, 65.47, 293.66°)
OKLaboklab(54.59% 0.0026 -0.1721)
OKLCHoklch(54.59% 0.172 270.8)
XYZxyz(19.3717, 15.3936, 63.5658)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64D3 #D3BC4D
analogous
#4DA7D3 #4D64D3 #794DD3
triadic
#4D64D3 #D34D64 #64D34D
tetradic
#4D64D3 #D34DA7 #D3BC4D #4DD379
square
#4D64D3 #D34DA7 #D3BC4D #4DD379
split-complementary
#4D64D3 #D3794D #A7D34D
monochromatic
#213285 #2D44B6 #4D64D3 #7E8FDF #AFB9EB

Accessibility & contrast

On white

5.15
#4D64D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4D64D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64D3
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64D3#FFFFFF#000000##FFFFFF
##4D64D31.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D74D7
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#007E92
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d64d3;
/* rgb */ color: rgb(77, 100, 211);
/* oklch */ color: oklch(54.6% 0.172 270.8);
Tailwind
colors: {
  custom: {
    50: '#8c8fe1',
    500: '#4d64d3',
    950: '#000000',
  },
}
SCSS
$custom: #4d64d3;
$custom-light: #8c8fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64d3",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 211
  },
  "hsl": {
    "h": 229.701,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54588,
    "c": 0.17212,
    "h": 270.8
  },
  "luminance": 0.15395
}

Semantic roles & 50–950 ramp

primary
#4D64D3
secondary
#D9D0A2
accent
#C844E4
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D64D3

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

Preview Lab → · Contrast checker → · Palette generator →

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