#4D64B4#4D64B4

#4D64B4 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.5% C 0.129 H 269.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4D64B4
RGBrgb(77, 100, 180)
HSLhsl(227, 41%, 50%)
HSVhsv(227, 57%, 71%)
CMYKcmyk(57.2%, 44.4%, 0%, 29.4%)
CIE-LABlab(44.21, 15.69, -45.20)
CIE-LCHlch(44.21, 47.84, 289.14°)
OKLaboklab(52.48% -0.0011 -0.1287)
OKLCHoklch(52.48% 0.129 269.5)
XYZxyz(15.8532, 13.9862, 45.0354)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64B4 #B49D4D
analogous
#4D97B4 #4D64B4 #694DB4
triadic
#4D64B4 #B44D64 #64B44D
tetradic
#4D64B4 #B44D97 #B49D4D #4DB469
square
#4D64B4 #B44D97 #B49D4D #4DB469
split-complementary
#4D64B4 #B4694D #97B44D
monochromatic
#28345F #3A4C8A #4D64B4 #7889C6 #A3AFD8

Accessibility & contrast

On white

5.53
#4D64B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4D64B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64B4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64B4#FFFFFF#000000##FFFFFF
##4D64B41.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406DB7
Deuteranopia (green-blind)
#3364B2
Tritanopia (blue-blind)
#067683
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d64b4;
/* rgb */ color: rgb(77, 100, 180);
/* oklch */ color: oklch(52.5% 0.129 269.5);
Tailwind
colors: {
  custom: {
    50: '#878fcb',
    500: '#4d64b4',
    950: '#000000',
  },
}
SCSS
$custom: #4d64b4;
$custom-light: #878fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64b4",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 180
  },
  "hsl": {
    "h": 226.602,
    "s": 40.711,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52475,
    "c": 0.12868,
    "h": 269.5
  },
  "luminance": 0.13987
}

Semantic roles & 50–950 ramp

primary
#4D64B4
secondary
#C5BB97
accent
#B557D1
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4D64B4

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

Preview Lab → · Contrast checker → · Palette generator →

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