#4E47C0#4E47C0

#4E47C0 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.9% C 0.183 H 279.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4E47C0
RGBrgb(78, 71, 192)
HSLhsl(243, 49%, 52%)
HSVhsv(243, 63%, 75%)
CMYKcmyk(59.4%, 63%, 0%, 24.7%)
CIE-LABlab(37.72, 38.10, -62.69)
CIE-LCHlch(37.72, 73.36, 301.28°)
OKLaboklab(47.89% 0.0303 -0.1804)
OKLCHoklch(47.89% 0.183 279.5)
XYZxyz(14.9065, 9.9309, 50.9903)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47C0 #B9C047
analogous
#477DC0 #4E47C0 #8B47C0
triadic
#4E47C0 #C04E47 #47C04E
tetradic
#4E47C0 #C0477D #B9C047 #47C08B
square
#4E47C0 #C0477D #B9C047 #47C08B
split-complementary
#4E47C0 #C08B47 #7DC047
monochromatic
#282469 #393396 #4E47C0 #7A75D0 #A6A2DF

Accessibility & contrast

On white

7.03
#4E47C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E47C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E47C0
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47C0#FFFFFF#000000##FFFFFF
##4E47C01.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e47c0;
/* rgb */ color: rgb(78, 71, 192);
/* oklch */ color: oklch(47.9% 0.183 279.5);
Tailwind
colors: {
  custom: {
    50: '#8b7bd4',
    500: '#4e47c0',
    950: '#000000',
  },
}
SCSS
$custom: #4e47c0;
$custom-light: #8b7bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47c0",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 192
  },
  "hsl": {
    "h": 243.471,
    "s": 48.988,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47888,
    "c": 0.18288,
    "h": 279.5
  },
  "luminance": 0.09932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E47C0

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

Preview Lab → · Contrast checker → · Palette generator →

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