#4E47B7#4E47B7

#4E47B7 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.171 H 280.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4E47B7
RGBrgb(78, 71, 183)
HSLhsl(244, 44%, 50%)
HSVhsv(244, 61%, 72%)
CMYKcmyk(57.4%, 61.2%, 0%, 28.2%)
CIE-LABlab(37.01, 35.18, -58.56)
CIE-LCHlch(37.01, 68.32, 301.00°)
OKLaboklab(47.15% 0.0308 -0.1682)
OKLCHoklch(47.15% 0.171 280.4)
XYZxyz(13.9397, 9.5441, 45.8982)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47B7 #B0B747
analogous
#4778B7 #4E47B7 #8647B7
triadic
#4E47B7 #B74E47 #47B74E
tetradic
#4E47B7 #B74778 #B0B747 #47B786
square
#4E47B7 #B74778 #B0B747 #47B786
split-complementary
#4E47B7 #B78647 #78B747
monochromatic
#28255F #3B368B #4E47B7 #7873C9 #A29FDA

Accessibility & contrast

On white

7.22
#4E47B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4E47B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E47B7
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47B7#FFFFFF#000000##FFFFFF
##4E47B71.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#126278
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e47b7;
/* rgb */ color: rgb(78, 71, 183);
/* oklch */ color: oklch(47.1% 0.171 280.4);
Tailwind
colors: {
  custom: {
    50: '#897acd',
    500: '#4e47b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e47b7;
$custom-light: #897acd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47b7",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 243.75,
    "s": 44.094,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4715,
    "c": 0.17101,
    "h": 280.4
  },
  "luminance": 0.09545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E47B7

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

Preview Lab → · Contrast checker → · Palette generator →

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