#4E47A7#4E47A7

#4E47A7 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.149 H 282.1°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#4E47A7
RGBrgb(78, 71, 167)
HSLhsl(244, 40%, 47%)
HSVhsv(244, 57%, 65%)
CMYKcmyk(53.3%, 57.5%, 0%, 34.5%)
CIE-LABlab(35.82, 30.00, -50.99)
CIE-LCHlch(35.82, 59.17, 300.47°)
OKLaboklab(45.9% 0.0312 -0.1459)
OKLCHoklch(45.9% 0.149 282.1)
XYZxyz(12.3680, 8.9155, 37.6209)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47A7 #A0A747
analogous
#4770A7 #4E47A7 #7E47A7
triadic
#4E47A7 #A74E47 #47A74E
tetradic
#4E47A7 #A74770 #A0A747 #47A77E
square
#4E47A7 #A74770 #A0A747 #47A77E
split-complementary
#4E47A7 #A77E47 #70A747
monochromatic
#262251 #3A357C #4E47A7 #716BC0 #9A96D2

Accessibility & contrast

On white

7.55
#4E47A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4E47A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E47A7
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47A7#FFFFFF#000000##FFFFFF
##4E47A71.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#295D70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e47a7;
/* rgb */ color: rgb(78, 71, 167);
/* oklch */ color: oklch(45.9% 0.149 282.1);
Tailwind
colors: {
  custom: {
    50: '#877ac2',
    500: '#4e47a7',
    950: '#000000',
  },
}
SCSS
$custom: #4e47a7;
$custom-light: #877ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47a7",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 244.375,
    "s": 40.336,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45896,
    "c": 0.14924,
    "h": 282.1
  },
  "luminance": 0.08916
}

Semantic roles & 50–950 ramp

primary
#4E47A7
secondary
#BBBE8B
accent
#D058C7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E47A7

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

Preview Lab → · Contrast checker → · Palette generator →

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