#4D64BF#4D64BF

#4D64BF is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.2% C 0.144 H 270.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4D64BF
RGBrgb(77, 100, 191)
HSLhsl(228, 47%, 53%)
HSVhsv(228, 60%, 75%)
CMYKcmyk(59.7%, 47.6%, 0%, 25.1%)
CIE-LABlab(44.87, 19.42, -50.54)
CIE-LCHlch(44.87, 54.15, 291.02°)
OKLaboklab(53.19% 0.0005 -0.1444)
OKLCHoklch(53.19% 0.144 270.2)
XYZxyz(17.0186, 14.4523, 51.1729)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64BF #BFA84D
analogous
#4D9DBF #4D64BF #6F4DBF
triadic
#4D64BF #BF4D64 #64BF4D
tetradic
#4D64BF #BF4D9D #BFA84D #4DBF6F
square
#4D64BF #BF4D9D #BFA84D #4DBF6F
split-complementary
#4D64BF #BF6F4D #9DBF4D
monochromatic
#27346B #374A98 #4D64BF #7A8BCF #A7B2DF

Accessibility & contrast

On white

5.40
#4D64BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4D64BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64BF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64BF#FFFFFF#000000##FFFFFF
##4D64BF1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376FC2
Deuteranopia (green-blind)
#2565BD
Tritanopia (blue-blind)
#007988
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d64bf;
/* rgb */ color: rgb(77, 100, 191);
/* oklch */ color: oklch(53.2% 0.144 270.2);
Tailwind
colors: {
  custom: {
    50: '#898fd3',
    500: '#4d64bf',
    950: '#000000',
  },
}
SCSS
$custom: #4d64bf;
$custom-light: #898fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64bf",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 227.895,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.14437,
    "h": 270.2
  },
  "luminance": 0.14454
}

Semantic roles & 50–950 ramp

primary
#4D64BF
secondary
#CDC39B
accent
#BC51D7
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4D64BF

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

Preview Lab → · Contrast checker → · Palette generator →

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