#4E47AB#4E47AB

#4E47AB is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.155 H 281.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#4E47AB
RGBrgb(78, 71, 171)
HSLhsl(244, 41%, 47%)
HSVhsv(244, 58%, 67%)
CMYKcmyk(54.4%, 58.5%, 0%, 32.9%)
CIE-LABlab(36.11, 31.30, -52.91)
CIE-LCHlch(36.11, 61.48, 300.60°)
OKLaboklab(46.2% 0.0312 -0.1516)
OKLCHoklch(46.2% 0.155 281.6)
XYZxyz(12.7435, 9.0657, 39.5985)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47AB #A4AB47
analogous
#4772AB #4E47AB #8047AB
triadic
#4E47AB #AB4E47 #47AB4E
tetradic
#4E47AB #AB4772 #A4AB47 #47AB80
square
#4E47AB #AB4772 #A4AB47 #47AB80
split-complementary
#4E47AB #AB8047 #72AB47
monochromatic
#272355 #3A3580 #4E47AB #736DC2 #9C98D4

Accessibility & contrast

On white

7.46
#4E47AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E47AB
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47AB#FFFFFF#000000##FFFFFF
##4E47AB1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#245E72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e47ab;
/* rgb */ color: rgb(78, 71, 171);
/* oklch */ color: oklch(46.2% 0.155 281.6);
Tailwind
colors: {
  custom: {
    50: '#887ac5',
    500: '#4e47ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e47ab;
$custom-light: #887ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47ab",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 244.2,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46202,
    "c": 0.15477,
    "h": 281.6
  },
  "luminance": 0.09066
}

Semantic roles & 50–950 ramp

primary
#4E47AB
secondary
#BDC08D
accent
#D157C9
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E47AB

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

Preview Lab → · Contrast checker → · Palette generator →

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