#4E47D1#4E47D1

#4E47D1 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.3% C 0.205 H 278.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4E47D1
RGBrgb(78, 71, 209)
HSLhsl(243, 60%, 55%)
HSVhsv(243, 66%, 82%)
CMYKcmyk(62.7%, 66%, 0%, 18%)
CIE-LABlab(39.12, 43.58, -70.28)
CIE-LCHlch(39.12, 82.69, 301.80°)
OKLaboklab(49.34% 0.0287 -0.2026)
OKLCHoklch(49.34% 0.205 278.1)
XYZxyz(16.9000, 10.7283, 61.4894)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47D1 #CAD147
analogous
#4785D1 #4E47D1 #9347D1
triadic
#4E47D1 #D14E47 #47D14E
tetradic
#4E47D1 #D14785 #CAD147 #47D193
square
#4E47D1 #D14785 #CAD147 #47D193
split-complementary
#4E47D1 #D19347 #85D147
monochromatic
#24207E #322CAF #4E47D1 #7D78DD #ACA9E9

Accessibility & contrast

On white

6.68
#4E47D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4E47D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E47D1
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47D1#FFFFFF#000000##FFFFFF
##4E47D11.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#0056CE
Tritanopia (blue-blind)
#006B86
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e47d1;
/* rgb */ color: rgb(78, 71, 209);
/* oklch */ color: oklch(49.3% 0.205 278.1);
Tailwind
colors: {
  custom: {
    50: '#8e7be0',
    500: '#4e47d1',
    950: '#000000',
  },
}
SCSS
$custom: #4e47d1;
$custom-light: #8e7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47d1",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 209
  },
  "hsl": {
    "h": 243.043,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49341,
    "c": 0.20464,
    "h": 278.1
  },
  "luminance": 0.1073
}

Semantic roles & 50–950 ramp

primary
#4E47D1
secondary
#D4D79D
accent
#E345DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4E47D1

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

Preview Lab → · Contrast checker → · Palette generator →

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