#4D64E3#4D64E3

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

Color values

HEX#4D64E3
RGBrgb(77, 100, 227)
HSLhsl(231, 73%, 60%)
HSVhsv(231, 66%, 89%)
CMYKcmyk(66.1%, 55.9%, 0%, 11%)
CIE-LABlab(47.28, 31.78, -67.25)
CIE-LCHlch(47.28, 74.38, 295.29°)
OKLaboklab(55.78% 0.0034 -0.1935)
OKLCHoklch(55.78% 0.194 271)
XYZxyz(21.4782, 16.2362, 74.6602)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64E3 #E3CC4D
analogous
#4DAFE3 #4D64E3 #814DE3
triadic
#4D64E3 #E34D64 #64E34D
tetradic
#4D64E3 #E34DAF #E3CC4D #4DE381
square
#4D64E3 #E34DAF #E3CC4D #4DE381
split-complementary
#4D64E3 #E3814D #AFE34D
monochromatic
#192D9D #213CD2 #4D64E3 #8292EB #B7C0F4

Accessibility & contrast

On white

4.94
#4D64E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#4D64E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64E3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64E3#FFFFFF#000000##FFFFFF
##4D64E31.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#006AE0
Tritanopia (blue-blind)
#00839A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d64e3;
/* rgb */ color: rgb(77, 100, 227);
/* oklch */ color: oklch(55.8% 0.194 271.0);
Tailwind
colors: {
  custom: {
    50: '#8f8fed',
    500: '#4d64e3',
    950: '#000000',
  },
}
SCSS
$custom: #4d64e3;
$custom-light: #8f8fed;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64e3",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 227
  },
  "hsl": {
    "h": 230.8,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55777,
    "c": 0.19357,
    "h": 271
  },
  "luminance": 0.16238
}

Semantic roles & 50–950 ramp

primary
#4D64E3
secondary
#E3DAA9
accent
#D338F0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4D64E3

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

Preview Lab → · Contrast checker → · Palette generator →

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