#4D64B2#4D64B2

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

Color values

HEX#4D64B2
RGBrgb(77, 100, 178)
HSLhsl(226, 40%, 50%)
HSVhsv(226, 57%, 70%)
CMYKcmyk(56.7%, 43.8%, 0%, 30.2%)
CIE-LABlab(44.10, 15.02, -44.21)
CIE-LCHlch(44.10, 46.70, 288.76°)
OKLaboklab(52.35% -0.0015 -0.1258)
OKLCHoklch(52.35% 0.126 269.3)
XYZxyz(15.6510, 13.9053, 43.9701)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64B2 #B29B4D
analogous
#4D96B2 #4D64B2 #694DB2
triadic
#4D64B2 #B24D64 #64B24D
tetradic
#4D64B2 #B24D96 #B29B4D #4DB269
square
#4D64B2 #B24D96 #B29B4D #4DB269
split-complementary
#4D64B2 #B2694D #96B24D
monochromatic
#28345D #3B4C87 #4D64B2 #7889C4 #A2AED7

Accessibility & contrast

On white

5.55
#4D64B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4D64B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D64B2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64B2#FFFFFF#000000##FFFFFF
##4D64B21.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426DB5
Deuteranopia (green-blind)
#3564B0
Tritanopia (blue-blind)
#0C7582
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d64b2;
/* rgb */ color: rgb(77, 100, 178);
/* oklch */ color: oklch(52.3% 0.126 269.3);
Tailwind
colors: {
  custom: {
    50: '#878fc9',
    500: '#4d64b2',
    950: '#000000',
  },
}
SCSS
$custom: #4d64b2;
$custom-light: #878fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64b2",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 226.337,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.52348,
    "c": 0.1258,
    "h": 269.3
  },
  "luminance": 0.13906
}

Semantic roles & 50–950 ramp

primary
#4D64B2
secondary
#C4BA97
accent
#B458CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4D64B2

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

Preview Lab → · Contrast checker → · Palette generator →

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