#4E47A3#4E47A3

#4E47A3 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.144 H 282.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4E47A3
RGBrgb(78, 71, 163)
HSLhsl(245, 39%, 46%)
HSVhsv(245, 56%, 64%)
CMYKcmyk(52.1%, 56.4%, 0%, 36.1%)
CIE-LABlab(35.54, 28.72, -49.06)
CIE-LCHlch(35.54, 56.84, 300.34°)
OKLaboklab(45.6% 0.0311 -0.1403)
OKLCHoklch(45.6% 0.144 282.5)
XYZxyz(12.0040, 8.7699, 35.7035)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47A3 #9CA347
analogous
#476EA3 #4E47A3 #7C47A3
triadic
#4E47A3 #A34E47 #47A34E
tetradic
#4E47A3 #A3476E #9CA347 #47A37C
square
#4E47A3 #A3476E #9CA347 #47A37C
split-complementary
#4E47A3 #A37C47 #6EA347
monochromatic
#25224E #3A3478 #4E47A3 #7069BE #9994D0

Accessibility & contrast

On white

7.62
#4E47A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4E47A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E47A3
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47A3#FFFFFF#000000##FFFFFF
##4E47A31.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A57A6
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#2C5C6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e47a3;
/* rgb */ color: rgb(78, 71, 163);
/* oklch */ color: oklch(45.6% 0.144 282.5);
Tailwind
colors: {
  custom: {
    50: '#867abf',
    500: '#4e47a3',
    950: '#000000',
  },
}
SCSS
$custom: #4e47a3;
$custom-light: #867abf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47a3",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 163
  },
  "hsl": {
    "h": 244.565,
    "s": 39.316,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45595,
    "c": 0.14367,
    "h": 282.5
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#4E47A3
secondary
#B8BC8A
accent
#CF59C6
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E47A3

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

Preview Lab → · Contrast checker → · Palette generator →

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