#4E47D4#4E47D4

#4E47D4 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.6% C 0.208 H 277.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#4E47D4
RGBrgb(78, 71, 212)
HSLhsl(243, 62%, 55%)
HSVhsv(243, 67%, 83%)
CMYKcmyk(63.2%, 66.5%, 0%, 16.9%)
CIE-LABlab(39.37, 44.54, -71.59)
CIE-LCHlch(39.37, 84.32, 301.89°)
OKLaboklab(49.61% 0.0283 -0.2065)
OKLCHoklch(49.61% 0.208 277.8)
XYZxyz(17.2750, 10.8783, 63.4640)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47D4 #CDD447
analogous
#4786D4 #4E47D4 #9547D4
triadic
#4E47D4 #D44E47 #47D44E
tetradic
#4E47D4 #D44786 #CDD447 #47D495
square
#4E47D4 #D44786 #CDD447 #47D495
split-complementary
#4E47D4 #D49547 #86D447
monochromatic
#231E82 #312AB4 #4E47D4 #7E79E0 #ADAAEB

Accessibility & contrast

On white

6.61
#4E47D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4E47D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E47D4
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47D4#FFFFFF#000000##FFFFFF
##4E47D41.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0057D1
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e47d4;
/* rgb */ color: rgb(78, 71, 212);
/* oklch */ color: oklch(49.6% 0.208 277.8);
Tailwind
colors: {
  custom: {
    50: '#8f7be2',
    500: '#4e47d4',
    950: '#000000',
  },
}
SCSS
$custom: #4e47d4;
$custom-light: #8f7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47d4",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 242.979,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49605,
    "c": 0.20839,
    "h": 277.8
  },
  "luminance": 0.1088
}

Semantic roles & 50–950 ramp

primary
#4E47D4
secondary
#D6D99E
accent
#E543DD
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4E47D4

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

Preview Lab → · Contrast checker → · Palette generator →

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