#4D64E2#4D64E2

#4D64E2 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.7% C 0.192 H 271.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4D64E2
RGBrgb(77, 100, 226)
HSLhsl(231, 72%, 59%)
HSVhsv(231, 66%, 89%)
CMYKcmyk(65.9%, 55.8%, 0%, 11.4%)
CIE-LABlab(47.21, 31.43, -66.81)
CIE-LCHlch(47.21, 73.83, 295.20°)
OKLaboklab(55.7% 0.0033 -0.1922)
OKLCHoklch(55.7% 0.192 271)
XYZxyz(21.3406, 16.1811, 73.9354)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64E2 #E2CB4D
analogous
#4DAFE2 #4D64E2 #804DE2
triadic
#4D64E2 #E24D64 #64E24D
tetradic
#4D64E2 #E24DAF #E2CB4D #4DE280
square
#4D64E2 #E24DAF #E2CB4D #4DE280
split-complementary
#4D64E2 #E2804D #AFE24D
monochromatic
#192D9B #223DD0 #4D64E2 #8292EB #B6C0F3

Accessibility & contrast

On white

4.96
#4D64E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4D64E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64E2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64E2#FFFFFF#000000##FFFFFF
##4D64E21.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d64e2;
/* rgb */ color: rgb(77, 100, 226);
/* oklch */ color: oklch(55.7% 0.192 271.0);
Tailwind
colors: {
  custom: {
    50: '#8f8fec',
    500: '#4d64e2',
    950: '#000000',
  },
}
SCSS
$custom: #4d64e2;
$custom-light: #8f8fec;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64e2",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 230.738,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55701,
    "c": 0.19225,
    "h": 271
  },
  "luminance": 0.16183
}

Semantic roles & 50–950 ramp

primary
#4D64E2
secondary
#E2D9A8
accent
#D339EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4D64E2

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

Preview Lab → · Contrast checker → · Palette generator →

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