#4E47B9#4E47B9

#4E47B9 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.174 H 280.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4E47B9
RGBrgb(78, 71, 185)
HSLhsl(244, 45%, 50%)
HSVhsv(244, 62%, 73%)
CMYKcmyk(57.8%, 61.6%, 0%, 27.5%)
CIE-LABlab(37.17, 35.83, -59.49)
CIE-LCHlch(37.17, 69.44, 301.06°)
OKLaboklab(47.31% 0.0307 -0.1709)
OKLCHoklch(47.31% 0.174 280.2)
XYZxyz(14.1493, 9.6280, 47.0023)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47B9 #B2B947
analogous
#4779B9 #4E47B9 #8747B9
triadic
#4E47B9 #B94E47 #47B94E
tetradic
#4E47B9 #B94779 #B2B947 #47B987
square
#4E47B9 #B94779 #B2B947 #47B987
split-complementary
#4E47B9 #B98747 #79B947
monochromatic
#292561 #3B368D #4E47B9 #7973CA #A3A0DB

Accessibility & contrast

On white

7.18
#4E47B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4E47B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E47B9
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47B9#FFFFFF#000000##FFFFFF
##4E47B91.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#0D6379
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e47b9;
/* rgb */ color: rgb(78, 71, 185);
/* oklch */ color: oklch(47.3% 0.174 280.2);
Tailwind
colors: {
  custom: {
    50: '#8a7bcf',
    500: '#4e47b9',
    950: '#000000',
  },
}
SCSS
$custom: #4e47b9;
$custom-light: #8a7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47b9",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 185
  },
  "hsl": {
    "h": 243.684,
    "s": 44.882,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47312,
    "c": 0.17367,
    "h": 280.2
  },
  "luminance": 0.09629
}

Semantic roles & 50–950 ramp

primary
#4E47B9
secondary
#C4C794
accent
#D553CD
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4E47B9

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

Preview Lab → · Contrast checker → · Palette generator →

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