#4E47AA#4E47AA

#4E47AA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.1% C 0.153 H 281.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4E47AA
RGBrgb(78, 71, 170)
HSLhsl(244, 41%, 47%)
HSVhsv(244, 58%, 67%)
CMYKcmyk(54.1%, 58.2%, 0%, 33.3%)
CIE-LABlab(36.04, 30.97, -52.44)
CIE-LCHlch(36.04, 60.90, 300.57°)
OKLaboklab(46.13% 0.0312 -0.1502)
OKLCHoklch(46.13% 0.153 281.7)
XYZxyz(12.6486, 9.0277, 39.0984)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47AA #A3AA47
analogous
#4772AA #4E47AA #7F47AA
triadic
#4E47AA #AA4E47 #47AA4E
tetradic
#4E47AA #AA4772 #A3AA47 #47AA7F
square
#4E47AA #AA4772 #A3AA47 #47AA7F
split-complementary
#4E47AA #AA7F47 #72AA47
monochromatic
#262354 #3A357F #4E47AA #726CC2 #9C98D4

Accessibility & contrast

On white

7.49
#4E47AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4E47AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E47AA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47AA#FFFFFF#000000##FFFFFF
##4E47AA1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#265E71
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e47aa;
/* rgb */ color: rgb(78, 71, 170);
/* oklch */ color: oklch(46.1% 0.153 281.7);
Tailwind
colors: {
  custom: {
    50: '#877ac4',
    500: '#4e47aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e47aa;
$custom-light: #877ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47aa",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 244.242,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46125,
    "c": 0.15339,
    "h": 281.7
  },
  "luminance": 0.09028
}

Semantic roles & 50–950 ramp

primary
#4E47AA
secondary
#BCC08D
accent
#D157C8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E47AA

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

Preview Lab → · Contrast checker → · Palette generator →

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