#4E47C1#4E47C1

#4E47C1 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.0% C 0.184 H 279.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4E47C1
RGBrgb(78, 71, 193)
HSLhsl(243, 50%, 52%)
HSVhsv(243, 63%, 76%)
CMYKcmyk(59.6%, 63.2%, 0%, 24.3%)
CIE-LABlab(37.80, 38.42, -63.15)
CIE-LCHlch(37.80, 73.92, 301.32°)
OKLaboklab(47.97% 0.0302 -0.1817)
OKLCHoklch(47.97% 0.184 279.4)
XYZxyz(15.0177, 9.9754, 51.5758)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47C1 #BAC147
analogous
#477DC1 #4E47C1 #8B47C1
triadic
#4E47C1 #C14E47 #47C14E
tetradic
#4E47C1 #C1477D #BAC147 #47C18B
square
#4E47C1 #C1477D #BAC147 #47C18B
split-complementary
#4E47C1 #C18B47 #7DC147
monochromatic
#28246A #393398 #4E47C1 #7A75D0 #A6A3E0

Accessibility & contrast

On white

7.01
#4E47C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4E47C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E47C1
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47C1#FFFFFF#000000##FFFFFF
##4E47C11.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e47c1;
/* rgb */ color: rgb(78, 71, 193);
/* oklch */ color: oklch(48.0% 0.184 279.4);
Tailwind
colors: {
  custom: {
    50: '#8b7bd5',
    500: '#4e47c1',
    950: '#000000',
  },
}
SCSS
$custom: #4e47c1;
$custom-light: #8b7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47c1",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 193
  },
  "hsl": {
    "h": 243.443,
    "s": 49.593,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47972,
    "c": 0.18418,
    "h": 279.4
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

primary
#4E47C1
secondary
#CACD97
accent
#D94FD1
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E47C1

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

Preview Lab → · Contrast checker → · Palette generator →

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