#4D64A9#4D64A9

#4D64A9 is a mid, moderate blue. Relative luminance 0.136; OKLCH L 51.8% C 0.113 H 268.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4D64A9
RGBrgb(77, 100, 169)
HSLhsl(225, 37%, 48%)
HSVhsv(225, 54%, 66%)
CMYKcmyk(54.4%, 40.8%, 0%, 33.7%)
CIE-LABlab(43.59, 12.01, -39.74)
CIE-LCHlch(43.59, 41.51, 286.81°)
OKLaboklab(51.79% -0.0032 -0.1127)
OKLCHoklch(51.79% 0.113 268.4)
XYZxyz(14.7768, 13.5556, 39.3663)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64A9 #A9924D
analogous
#4D92A9 #4D64A9 #644DA9
triadic
#4D64A9 #A94D64 #64A94D
tetradic
#4D64A9 #A94D92 #A9924D #4DA964
square
#4D64A9 #A94D92 #A9924D #4DA964
split-complementary
#4D64A9 #A9644D #92A94D
monochromatic
#273255 #3A4B7F #4D64A9 #7487C0 #9EABD3

Accessibility & contrast

On white

5.66
#4D64A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4D64A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64A9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64A9#FFFFFF#000000##FFFFFF
##4D64A91.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486BAC
Deuteranopia (green-blind)
#3D63A8
Tritanopia (blue-blind)
#1D737E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d64a9;
/* rgb */ color: rgb(77, 100, 169);
/* oklch */ color: oklch(51.8% 0.113 268.4);
Tailwind
colors: {
  custom: {
    50: '#858fc3',
    500: '#4d64a9',
    950: '#000000',
  },
}
SCSS
$custom: #4d64a9;
$custom-light: #858fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64a9",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 169
  },
  "hsl": {
    "h": 225,
    "s": 37.398,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51793,
    "c": 0.11272,
    "h": 268.4
  },
  "luminance": 0.13557
}

Semantic roles & 50–950 ramp

primary
#4D64A9
secondary
#BFB492
accent
#B15ACD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #4D64A9

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

Preview Lab → · Contrast checker → · Palette generator →

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