#4E47B8#4E47B8

#4E47B8 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.2% C 0.172 H 280.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#4E47B8
RGBrgb(78, 71, 184)
HSLhsl(244, 44%, 50%)
HSVhsv(244, 61%, 72%)
CMYKcmyk(57.6%, 61.4%, 0%, 27.8%)
CIE-LABlab(37.09, 35.50, -59.02)
CIE-LCHlch(37.09, 68.88, 301.03°)
OKLaboklab(47.23% 0.0308 -0.1696)
OKLCHoklch(47.23% 0.172 280.3)
XYZxyz(14.0441, 9.5859, 46.4483)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47B8 #B1B847
analogous
#4778B8 #4E47B8 #8747B8
triadic
#4E47B8 #B84E47 #47B84E
tetradic
#4E47B8 #B84778 #B1B847 #47B887
square
#4E47B8 #B84778 #B1B847 #47B887
split-complementary
#4E47B8 #B88747 #78B847
monochromatic
#292560 #3B368C #4E47B8 #7873C9 #A39FDA

Accessibility & contrast

On white

7.20
#4E47B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4E47B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E47B8
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47B8#FFFFFF#000000##FFFFFF
##4E47B81.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#106279
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e47b8;
/* rgb */ color: rgb(78, 71, 184);
/* oklch */ color: oklch(47.2% 0.172 280.3);
Tailwind
colors: {
  custom: {
    50: '#8a7ace',
    500: '#4e47b8',
    950: '#000000',
  },
}
SCSS
$custom: #4e47b8;
$custom-light: #8a7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47b8",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 184
  },
  "hsl": {
    "h": 243.717,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.4723,
    "c": 0.17234,
    "h": 280.3
  },
  "luminance": 0.09587
}

Semantic roles & 50–950 ramp

primary
#4E47B8
secondary
#C4C794
accent
#D454CC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4E47B8

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

Preview Lab → · Contrast checker → · Palette generator →

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