#4D64D8#4D64D8

#4D64D8 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.0% C 0.179 H 270.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4D64D8
RGBrgb(77, 100, 216)
HSLhsl(230, 64%, 57%)
HSVhsv(230, 64%, 85%)
CMYKcmyk(64.4%, 53.7%, 0%, 15.3%)
CIE-LABlab(46.51, 28.00, -62.27)
CIE-LCHlch(46.51, 68.27, 294.21°)
OKLaboklab(54.95% 0.0029 -0.1789)
OKLCHoklch(54.95% 0.179 270.9)
XYZxyz(20.0082, 15.6482, 66.9184)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64D8 #D8C14D
analogous
#4DA9D8 #4D64D8 #7C4DD8
triadic
#4D64D8 #D84D64 #64D84D
tetradic
#4D64D8 #D84DA9 #D8C14D #4DD87C
square
#4D64D8 #D84DA9 #D8C14D #4DD87C
split-complementary
#4D64D8 #D87C4D #A9D84D
monochromatic
#1F318C #2A42BE #4D64D8 #7F90E3 #B1BBEE

Accessibility & contrast

On white

5.08
#4D64D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4D64D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64D8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64D8#FFFFFF#000000##FFFFFF
##4D64D81.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F75DC
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d64d8;
/* rgb */ color: rgb(77, 100, 216);
/* oklch */ color: oklch(55.0% 0.179 270.9);
Tailwind
colors: {
  custom: {
    50: '#8d8fe5',
    500: '#4d64d8',
    950: '#000000',
  },
}
SCSS
$custom: #4d64d8;
$custom-light: #8d8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64d8",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 230.072,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54952,
    "c": 0.17889,
    "h": 270.9
  },
  "luminance": 0.1565
}

Semantic roles & 50–950 ramp

primary
#4D64D8
secondary
#DCD3A4
accent
#CC41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4D64D8

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

Preview Lab → · Contrast checker → · Palette generator →

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