#4D47D3#4D47D3

#4D47D3 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.4% C 0.207 H 277.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4D47D3
RGBrgb(77, 71, 211)
HSLhsl(243, 61%, 55%)
HSVhsv(243, 66%, 83%)
CMYKcmyk(63.5%, 66.4%, 0%, 17.3%)
CIE-LABlab(39.22, 44.08, -71.28)
CIE-LCHlch(39.22, 83.81, 301.73°)
OKLaboklab(49.45% 0.0272 -0.2056)
OKLCHoklch(49.45% 0.207 277.5)
XYZxyz(17.0679, 10.7860, 62.7979)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47D3 #CDD347
analogous
#4787D3 #4D47D3 #9347D3
triadic
#4D47D3 #D34D47 #47D34D
tetradic
#4D47D3 #D34787 #CDD347 #47D393
square
#4D47D3 #D34787 #CDD347 #47D393
split-complementary
#4D47D3 #D39347 #87D347
monochromatic
#231F81 #302BB2 #4D47D3 #7D78DF #ADAAEB

Accessibility & contrast

On white

6.65
#4D47D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4D47D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47D3
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47D3#FFFFFF#000000##FFFFFF
##4D47D31.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0056D0
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d47d3;
/* rgb */ color: rgb(77, 71, 211);
/* oklch */ color: oklch(49.4% 0.207 277.5);
Tailwind
colors: {
  custom: {
    50: '#8e7be2',
    500: '#4d47d3',
    950: '#000000',
  },
}
SCSS
$custom: #4d47d3;
$custom-light: #8e7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47d3",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 211
  },
  "hsl": {
    "h": 242.571,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49447,
    "c": 0.20735,
    "h": 277.5
  },
  "luminance": 0.10787
}

Semantic roles & 50–950 ramp

primary
#4D47D3
secondary
#D6D89E
accent
#E543DE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #4D47D3

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

Preview Lab → · Contrast checker → · Palette generator →

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