#4E47C7#4E47C7

#4E47C7 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.5% C 0.192 H 278.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4E47C7
RGBrgb(78, 71, 199)
HSLhsl(243, 53%, 53%)
HSVhsv(243, 64%, 78%)
CMYKcmyk(60.8%, 64.3%, 0%, 22%)
CIE-LABlab(38.28, 40.36, -65.85)
CIE-LCHlch(38.28, 77.24, 301.50°)
OKLaboklab(48.48% 0.0297 -0.1896)
OKLCHoklch(48.48% 0.192 278.9)
XYZxyz(15.7006, 10.2485, 55.1726)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47C7 #C0C747
analogous
#4780C7 #4E47C7 #8E47C7
triadic
#4E47C7 #C74E47 #47C74E
tetradic
#4E47C7 #C74780 #C0C747 #47C78E
square
#4E47C7 #C74780 #C0C747 #47C78E
split-complementary
#4E47C7 #C78E47 #80C747
monochromatic
#272271 #3731A0 #4E47C7 #7B76D5 #A8A5E4

Accessibility & contrast

On white

6.89
#4E47C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4E47C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E47C7
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47C7#FFFFFF#000000##FFFFFF
##4E47C71.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0055C4
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e47c7;
/* rgb */ color: rgb(78, 71, 199);
/* oklch */ color: oklch(48.5% 0.192 278.9);
Tailwind
colors: {
  custom: {
    50: '#8c7bd9',
    500: '#4e47c7',
    950: '#000000',
  },
}
SCSS
$custom: #4e47c7;
$custom-light: #8c7bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47c7",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 199
  },
  "hsl": {
    "h": 243.281,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48478,
    "c": 0.19194,
    "h": 278.9
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

primary
#4E47C7
secondary
#CED199
accent
#DD4BD5
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E47C7

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

Preview Lab → · Contrast checker → · Palette generator →

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