#4D64A6#4D64A6

#4D64A6 is a mid, moderate blue. Relative luminance 0.134; OKLCH L 51.6% C 0.108 H 268.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4D64A6
RGBrgb(77, 100, 166)
HSLhsl(224, 37%, 48%)
HSVhsv(224, 54%, 65%)
CMYKcmyk(53.6%, 39.8%, 0%, 34.9%)
CIE-LABlab(43.43, 11.01, -38.23)
CIE-LCHlch(43.43, 39.78, 286.07°)
OKLaboklab(51.61% -0.0038 -0.1083)
OKLCHoklch(51.61% 0.108 268)
XYZxyz(14.4984, 13.4443, 37.9000)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64A6 #A68F4D
analogous
#4D91A6 #4D64A6 #624DA6
triadic
#4D64A6 #A64D64 #64A64D
tetradic
#4D64A6 #A64D91 #A68F4D #4DA662
square
#4D64A6 #A64D91 #A68F4D #4DA662
split-complementary
#4D64A6 #A6624D #91A64D
monochromatic
#263252 #3A4B7C #4D64A6 #7286BE #9CAAD1

Accessibility & contrast

On white

5.69
#4D64A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4D64A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64A6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64A6#FFFFFF#000000##FFFFFF
##4D64A61.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496BA9
Deuteranopia (green-blind)
#3F63A5
Tritanopia (blue-blind)
#21727D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d64a6;
/* rgb */ color: rgb(77, 100, 166);
/* oklch */ color: oklch(51.6% 0.108 268.0);
Tailwind
colors: {
  custom: {
    50: '#858fc1',
    500: '#4d64a6',
    950: '#000000',
  },
}
SCSS
$custom: #4d64a6;
$custom-light: #858fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64a6",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 166
  },
  "hsl": {
    "h": 224.494,
    "s": 36.626,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51614,
    "c": 0.10833,
    "h": 268
  },
  "luminance": 0.13445
}

Semantic roles & 50–950 ramp

primary
#4D64A6
secondary
#BEB291
accent
#AF5BCD
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4D64A6

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

Preview Lab → · Contrast checker → · Palette generator →

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