#4E47C5#4E47C5

#4E47C5 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.3% C 0.189 H 279.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4E47C5
RGBrgb(78, 71, 197)
HSLhsl(243, 52%, 53%)
HSVhsv(243, 64%, 77%)
CMYKcmyk(60.4%, 64%, 0%, 22.7%)
CIE-LABlab(38.12, 39.71, -64.96)
CIE-LCHlch(38.12, 76.13, 301.44°)
OKLaboklab(48.31% 0.0299 -0.187)
OKLCHoklch(48.31% 0.189 279.1)
XYZxyz(15.4700, 10.1563, 53.9576)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47C5 #BEC547
analogous
#477FC5 #4E47C5 #8D47C5
triadic
#4E47C5 #C54E47 #47C54E
tetradic
#4E47C5 #C5477F #BEC547 #47C58D
square
#4E47C5 #C5477F #BEC547 #47C58D
split-complementary
#4E47C5 #C58D47 #7FC547
monochromatic
#27236F #38329D #4E47C5 #7B76D4 #A8A4E2

Accessibility & contrast

On white

6.93
#4E47C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4E47C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E47C5
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47C5#FFFFFF#000000##FFFFFF
##4E47C51.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e47c5;
/* rgb */ color: rgb(78, 71, 197);
/* oklch */ color: oklch(48.3% 0.189 279.1);
Tailwind
colors: {
  custom: {
    50: '#8c7bd8',
    500: '#4e47c5',
    950: '#000000',
  },
}
SCSS
$custom: #4e47c5;
$custom-light: #8c7bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47c5",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 243.333,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48308,
    "c": 0.18936,
    "h": 279.1
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#4E47C5
secondary
#CCCF99
accent
#DC4CD4
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E47C5

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

Preview Lab → · Contrast checker → · Palette generator →

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