#4D47CE#4D47CE

#4D47CE is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.0% C 0.201 H 277.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#4D47CE
RGBrgb(77, 71, 206)
HSLhsl(243, 58%, 54%)
HSVhsv(243, 66%, 81%)
CMYKcmyk(62.6%, 65.5%, 0%, 19.2%)
CIE-LABlab(38.79, 42.47, -69.08)
CIE-LCHlch(38.79, 81.09, 301.58°)
OKLaboklab(49.01% 0.0278 -0.1991)
OKLCHoklch(49.01% 0.201 277.9)
XYZxyz(16.4508, 10.5392, 59.5479)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47CE #C8CE47
analogous
#4784CE #4D47CE #9147CE
triadic
#4D47CE #CE4D47 #47CE4D
tetradic
#4D47CE #CE4784 #C8CE47 #47CE91
square
#4D47CE #CE4784 #C8CE47 #47CE91
split-complementary
#4D47CE #CE9147 #84CE47
monochromatic
#24217A #332DAA #4D47CE #7C77DB #ABA8E8

Accessibility & contrast

On white

6.76
#4D47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4D47CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47CE
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47CE#FFFFFF#000000##FFFFFF
##4D47CE1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d47ce;
/* rgb */ color: rgb(77, 71, 206);
/* oklch */ color: oklch(49.0% 0.201 277.9);
Tailwind
colors: {
  custom: {
    50: '#8d7bde',
    500: '#4d47ce',
    950: '#000000',
  },
}
SCSS
$custom: #4d47ce;
$custom-light: #8d7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47ce",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 242.667,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49008,
    "c": 0.20106,
    "h": 277.9
  },
  "luminance": 0.1054
}

Semantic roles & 50–950 ramp

primary
#4D47CE
secondary
#D2D59C
accent
#E147DA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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