#4E47B5#4E47B5

#4E47B5 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.0% C 0.168 H 280.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4E47B5
RGBrgb(78, 71, 181)
HSLhsl(244, 44%, 49%)
HSVhsv(244, 61%, 71%)
CMYKcmyk(56.9%, 60.8%, 0%, 29%)
CIE-LABlab(36.86, 34.53, -57.63)
CIE-LCHlch(36.86, 67.18, 300.93°)
OKLaboklab(46.99% 0.0309 -0.1655)
OKLCHoklch(46.99% 0.168 280.6)
XYZxyz(13.7330, 9.4615, 44.8097)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47B5 #AEB547
analogous
#4777B5 #4E47B5 #8547B5
triadic
#4E47B5 #B54E47 #47B54E
tetradic
#4E47B5 #B54777 #AEB547 #47B585
square
#4E47B5 #B54777 #AEB547 #47B585
split-complementary
#4E47B5 #B58547 #77B547
monochromatic
#28255D #3B3689 #4E47B5 #7772C8 #A19ED9

Accessibility & contrast

On white

7.26
#4E47B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4E47B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E47B5
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47B5#FFFFFF#000000##FFFFFF
##4E47B51.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#166277
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e47b5;
/* rgb */ color: rgb(78, 71, 181);
/* oklch */ color: oklch(47.0% 0.168 280.6);
Tailwind
colors: {
  custom: {
    50: '#897acc',
    500: '#4e47b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e47b5;
$custom-light: #897acc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47b5",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 181
  },
  "hsl": {
    "h": 243.818,
    "s": 43.651,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46989,
    "c": 0.16833,
    "h": 280.6
  },
  "luminance": 0.09462
}

Semantic roles & 50–950 ramp

primary
#4E47B5
secondary
#C2C593
accent
#D354CB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E47B5

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

Preview Lab → · Contrast checker → · Palette generator →

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