#4D64B7#4D64B7

#4D64B7 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.7% C 0.133 H 269.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4D64B7
RGBrgb(77, 100, 183)
HSLhsl(227, 42%, 51%)
HSVhsv(227, 58%, 72%)
CMYKcmyk(57.9%, 45.4%, 0%, 28.2%)
CIE-LABlab(44.39, 16.70, -46.67)
CIE-LCHlch(44.39, 49.57, 289.70°)
OKLaboklab(52.67% -0.0006 -0.133)
OKLCHoklch(52.67% 0.133 269.7)
XYZxyz(16.1621, 14.1098, 46.6623)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64B7 #B7A04D
analogous
#4D99B7 #4D64B7 #6B4DB7
triadic
#4D64B7 #B74D64 #64B74D
tetradic
#4D64B7 #B74D99 #B7A04D #4DB76B
square
#4D64B7 #B74D99 #B7A04D #4DB76B
split-complementary
#4D64B7 #B76B4D #99B74D
monochromatic
#283462 #394C8E #4D64B7 #798AC9 #A4B0DA

Accessibility & contrast

On white

5.49
#4D64B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4D64B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64B7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64B7#FFFFFF#000000##FFFFFF
##4D64B71.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6EBA
Deuteranopia (green-blind)
#3065B5
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d64b7;
/* rgb */ color: rgb(77, 100, 183);
/* oklch */ color: oklch(52.7% 0.133 269.7);
Tailwind
colors: {
  custom: {
    50: '#878fcd',
    500: '#4d64b7',
    950: '#000000',
  },
}
SCSS
$custom: #4d64b7;
$custom-light: #878fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64b7",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 183
  },
  "hsl": {
    "h": 226.981,
    "s": 42.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.13299,
    "h": 269.7
  },
  "luminance": 0.14111
}

Semantic roles & 50–950 ramp

primary
#4D64B7
secondary
#C7BD98
accent
#B756D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4D64B7

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

Preview Lab → · Contrast checker → · Palette generator →

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