#4E47A0#4E47A0

#4E47A0 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.139 H 282.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4E47A0
RGBrgb(78, 71, 160)
HSLhsl(245, 39%, 45%)
HSVhsv(245, 56%, 63%)
CMYKcmyk(51.2%, 55.6%, 0%, 37.3%)
CIE-LABlab(35.33, 27.75, -47.59)
CIE-LCHlch(35.33, 55.09, 300.25°)
OKLaboklab(45.37% 0.0311 -0.1359)
OKLCHoklch(45.37% 0.139 282.9)
XYZxyz(11.7384, 8.6636, 34.3046)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47A0 #99A047
analogous
#476CA0 #4E47A0 #7A47A0
triadic
#4E47A0 #A04E47 #47A04E
tetradic
#4E47A0 #A0476C #99A047 #47A07A
square
#4E47A0 #A0476C #99A047 #47A07A
split-complementary
#4E47A0 #A07A47 #6CA047
monochromatic
#25214B #393476 #4E47A0 #6F68BC #9793CF

Accessibility & contrast

On white

7.68
#4E47A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4E47A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E47A0
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47A0#FFFFFF#000000##FFFFFF
##4E47A01.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1256A3
Deuteranopia (green-blind)
#07509E
Tritanopia (blue-blind)
#2F5B6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e47a0;
/* rgb */ color: rgb(78, 71, 160);
/* oklch */ color: oklch(45.4% 0.139 282.9);
Tailwind
colors: {
  custom: {
    50: '#867abd',
    500: '#4e47a0',
    950: '#000000',
  },
}
SCSS
$custom: #4e47a0;
$custom-light: #867abd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47a0",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 160
  },
  "hsl": {
    "h": 244.719,
    "s": 38.528,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45373,
    "c": 0.13945,
    "h": 282.9
  },
  "luminance": 0.08664
}

Semantic roles & 50–950 ramp

primary
#4E47A0
secondary
#B7BB88
accent
#CE59C5
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E47A0

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

Preview Lab → · Contrast checker → · Palette generator →

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