#4D64A7#4D64A7

#4D64A7 is a mid, moderate blue. Relative luminance 0.135; OKLCH L 51.7% C 0.110 H 268.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4D64A7
RGBrgb(77, 100, 167)
HSLhsl(225, 37%, 48%)
HSVhsv(225, 54%, 65%)
CMYKcmyk(53.9%, 40.1%, 0%, 34.5%)
CIE-LABlab(43.48, 11.34, -38.73)
CIE-LCHlch(43.48, 40.36, 286.32°)
OKLaboklab(51.67% -0.0036 -0.1097)
OKLCHoklch(51.67% 0.11 268.1)
XYZxyz(14.5905, 13.4811, 38.3850)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64A7 #A7904D
analogous
#4D91A7 #4D64A7 #634DA7
triadic
#4D64A7 #A74D64 #64A74D
tetradic
#4D64A7 #A74D91 #A7904D #4DA763
square
#4D64A7 #A74D91 #A7904D #4DA763
split-complementary
#4D64A7 #A7634D #91A74D
monochromatic
#263253 #3A4B7D #4D64A7 #7386BE #9DAAD2

Accessibility & contrast

On white

5.68
#4D64A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4D64A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64A7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64A7#FFFFFF#000000##FFFFFF
##4D64A71.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496BAA
Deuteranopia (green-blind)
#3E63A6
Tritanopia (blue-blind)
#20727D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d64a7;
/* rgb */ color: rgb(77, 100, 167);
/* oklch */ color: oklch(51.7% 0.110 268.1);
Tailwind
colors: {
  custom: {
    50: '#858fc1',
    500: '#4d64a7',
    950: '#000000',
  },
}
SCSS
$custom: #4d64a7;
$custom-light: #858fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64a7",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 167
  },
  "hsl": {
    "h": 224.667,
    "s": 36.885,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51673,
    "c": 0.1098,
    "h": 268.1
  },
  "luminance": 0.13482
}

Semantic roles & 50–950 ramp

primary
#4D64A7
secondary
#BEB391
accent
#B05BCD
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4D64A7

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

Preview Lab → · Contrast checker → · Palette generator →

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