#4D64D0#4D64D0

#4D64D0 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.4% C 0.168 H 270.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4D64D0
RGBrgb(77, 100, 208)
HSLhsl(229, 58%, 56%)
HSVhsv(229, 63%, 82%)
CMYKcmyk(63%, 51.9%, 0%, 18.4%)
CIE-LABlab(45.97, 25.25, -58.58)
CIE-LCHlch(45.97, 63.79, 293.32°)
OKLaboklab(54.37% 0.0023 -0.168)
OKLCHoklch(54.37% 0.168 270.8)
XYZxyz(18.9991, 15.2445, 61.6035)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64D0 #D0B94D
analogous
#4DA5D0 #4D64D0 #774DD0
triadic
#4D64D0 #D04D64 #64D04D
tetradic
#4D64D0 #D04DA5 #D0B94D #4DD077
square
#4D64D0 #D04DA5 #D0B94D #4DD077
split-complementary
#4D64D0 #D0774D #A5D04D
monochromatic
#223381 #2F46B1 #4D64D0 #7D8EDD #AEB8EA

Accessibility & contrast

On white

5.19
#4D64D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4D64D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64D0
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64D0#FFFFFF#000000##FFFFFF
##4D64D01.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2273D4
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#007D90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d64d0;
/* rgb */ color: rgb(77, 100, 208);
/* oklch */ color: oklch(54.4% 0.168 270.8);
Tailwind
colors: {
  custom: {
    50: '#8b8fdf',
    500: '#4d64d0',
    950: '#000000',
  },
}
SCSS
$custom: #4d64d0;
$custom-light: #8b8fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64d0",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 208
  },
  "hsl": {
    "h": 229.466,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54372,
    "c": 0.16803,
    "h": 270.8
  },
  "luminance": 0.15246
}

Semantic roles & 50–950 ramp

primary
#4D64D0
secondary
#D8CEA1
accent
#C646E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D64D0

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

Preview Lab → · Contrast checker → · Palette generator →

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