#4D47D2#4D47D2

#4D47D2 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.4% C 0.206 H 277.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4D47D2
RGBrgb(77, 71, 210)
HSLhsl(243, 61%, 55%)
HSVhsv(243, 66%, 82%)
CMYKcmyk(63.3%, 66.2%, 0%, 17.6%)
CIE-LABlab(39.13, 43.76, -70.84)
CIE-LCHlch(39.13, 83.26, 301.70°)
OKLaboklab(49.36% 0.0273 -0.2043)
OKLCHoklch(49.36% 0.206 277.6)
XYZxyz(16.9429, 10.7360, 62.1397)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47D2 #CCD247
analogous
#4786D2 #4D47D2 #9347D2
triadic
#4D47D2 #D24D47 #47D24D
tetradic
#4D47D2 #D24786 #CCD247 #47D293
square
#4D47D2 #D24786 #CCD247 #47D293
split-complementary
#4D47D2 #D29347 #86D247
monochromatic
#231F7F #312BB1 #4D47D2 #7D78DE #ACA9EA

Accessibility & contrast

On white

6.67
#4D47D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4D47D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47D2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47D2#FFFFFF#000000##FFFFFF
##4D47D21.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0056CF
Tritanopia (blue-blind)
#006B86
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d47d2;
/* rgb */ color: rgb(77, 71, 210);
/* oklch */ color: oklch(49.4% 0.206 277.6);
Tailwind
colors: {
  custom: {
    50: '#8e7be1',
    500: '#4d47d2',
    950: '#000000',
  },
}
SCSS
$custom: #4d47d2;
$custom-light: #8e7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47d2",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 242.59,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49359,
    "c": 0.2061,
    "h": 277.6
  },
  "luminance": 0.10737
}

Semantic roles & 50–950 ramp

primary
#4D47D2
secondary
#D5D89D
accent
#E444DD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4D47D2

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

Preview Lab → · Contrast checker → · Palette generator →

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