#4E47AD#4E47AD

#4E47AD is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.4% C 0.158 H 281.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#4E47AD
RGBrgb(78, 71, 173)
HSLhsl(244, 42%, 48%)
HSVhsv(244, 59%, 68%)
CMYKcmyk(54.9%, 59%, 0%, 32.2%)
CIE-LABlab(36.26, 31.94, -53.87)
CIE-LCHlch(36.26, 62.62, 300.67°)
OKLaboklab(46.36% 0.0312 -0.1544)
OKLCHoklch(46.36% 0.158 281.4)
XYZxyz(12.9356, 9.1425, 40.6101)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47AD #A6AD47
analogous
#4773AD #4E47AD #8147AD
triadic
#4E47AD #AD4E47 #47AD4E
tetradic
#4E47AD #AD4773 #A6AD47 #47AD81
square
#4E47AD #AD4773 #A6AD47 #47AD81
split-complementary
#4E47AD #AD8147 #73AD47
monochromatic
#272356 #3A3582 #4E47AD #746EC3 #9D99D5

Accessibility & contrast

On white

7.42
#4E47AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4E47AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E47AD
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47AD#FFFFFF#000000##FFFFFF
##4E47AD1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#225F73
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e47ad;
/* rgb */ color: rgb(78, 71, 173);
/* oklch */ color: oklch(46.4% 0.158 281.4);
Tailwind
colors: {
  custom: {
    50: '#887ac6',
    500: '#4e47ad',
    950: '#000000',
  },
}
SCSS
$custom: #4e47ad;
$custom-light: #887ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47ad",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 173
  },
  "hsl": {
    "h": 244.118,
    "s": 41.803,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46357,
    "c": 0.15751,
    "h": 281.4
  },
  "luminance": 0.09143
}

Semantic roles & 50–950 ramp

primary
#4E47AD
secondary
#BEC18E
accent
#D256C9
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E47AD

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

Preview Lab → · Contrast checker → · Palette generator →

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