#4D64B1#4D64B1

#4D64B1 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.3% C 0.124 H 269.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4D64B1
RGBrgb(77, 100, 177)
HSLhsl(226, 39%, 50%)
HSVhsv(226, 56%, 69%)
CMYKcmyk(56.5%, 43.5%, 0%, 30.6%)
CIE-LABlab(44.04, 14.68, -43.72)
CIE-LCHlch(44.04, 46.12, 288.56°)
OKLaboklab(52.29% -0.0016 -0.1243)
OKLCHoklch(52.29% 0.124 269.2)
XYZxyz(15.5509, 13.8653, 43.4432)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64B1 #B19A4D
analogous
#4D96B1 #4D64B1 #684DB1
triadic
#4D64B1 #B14D64 #64B14D
tetradic
#4D64B1 #B14D96 #B19A4D #4DB168
square
#4D64B1 #B14D96 #B19A4D #4DB168
split-complementary
#4D64B1 #B1684D #96B14D
monochromatic
#28345C #3A4C86 #4D64B1 #7789C4 #A2AED6

Accessibility & contrast

On white

5.57
#4D64B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4D64B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64B1
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64B1#FFFFFF#000000##FFFFFF
##4D64B11.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436DB4
Deuteranopia (green-blind)
#3664AF
Tritanopia (blue-blind)
#0F7582
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d64b1;
/* rgb */ color: rgb(77, 100, 177);
/* oklch */ color: oklch(52.3% 0.124 269.2);
Tailwind
colors: {
  custom: {
    50: '#868fc9',
    500: '#4d64b1',
    950: '#000000',
  },
}
SCSS
$custom: #4d64b1;
$custom-light: #868fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64b1",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 177
  },
  "hsl": {
    "h": 226.2,
    "s": 39.37,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52285,
    "c": 0.12435,
    "h": 269.2
  },
  "luminance": 0.13866
}

Semantic roles & 50–950 ramp

primary
#4D64B1
secondary
#C4B996
accent
#B459CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4D64B1

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

Preview Lab → · Contrast checker → · Palette generator →

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