#4D47C5#4D47C5

#4D47C5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.2% C 0.190 H 278.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4D47C5
RGBrgb(77, 71, 197)
HSLhsl(243, 52%, 53%)
HSVhsv(243, 64%, 77%)
CMYKcmyk(60.9%, 64%, 0%, 22.7%)
CIE-LABlab(38.05, 39.55, -65.08)
CIE-LCHlch(38.05, 76.16, 301.29°)
OKLaboklab(48.24% 0.0286 -0.1874)
OKLCHoklch(48.24% 0.19 278.7)
XYZxyz(15.3886, 10.1143, 53.9538)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47C5 #BFC547
analogous
#4780C5 #4D47C5 #8C47C5
triadic
#4D47C5 #C54D47 #47C54D
tetradic
#4D47C5 #C54780 #BFC547 #47C58C
square
#4D47C5 #C54780 #BFC547 #47C58C
split-complementary
#4D47C5 #C58C47 #80C547
monochromatic
#27236F #37329D #4D47C5 #7A76D4 #A7A4E2

Accessibility & contrast

On white

6.95
#4D47C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4D47C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47C5
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47C5#FFFFFF#000000##FFFFFF
##4D47C51.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0054C3
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d47c5;
/* rgb */ color: rgb(77, 71, 197);
/* oklch */ color: oklch(48.2% 0.190 278.7);
Tailwind
colors: {
  custom: {
    50: '#8b7bd8',
    500: '#4d47c5',
    950: '#000000',
  },
}
SCSS
$custom: #4d47c5;
$custom-light: #8b7bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47c5",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 242.857,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48235,
    "c": 0.18956,
    "h": 278.7
  },
  "luminance": 0.10115
}

Semantic roles & 50–950 ramp

primary
#4D47C5
secondary
#CDCF99
accent
#DC4CD5
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D47C5

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

Preview Lab → · Contrast checker → · Palette generator →

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