#4E47A4#4E47A4

#4E47A4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.145 H 282.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4E47A4
RGBrgb(78, 71, 164)
HSLhsl(245, 40%, 46%)
HSVhsv(245, 57%, 64%)
CMYKcmyk(52.4%, 56.7%, 0%, 35.7%)
CIE-LABlab(35.61, 29.04, -49.54)
CIE-LCHlch(35.61, 57.43, 300.38°)
OKLaboklab(45.67% 0.0312 -0.1417)
OKLCHoklch(45.67% 0.145 282.4)
XYZxyz(12.0939, 8.8058, 36.1772)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47A4 #9DA447
analogous
#476EA4 #4E47A4 #7C47A4
triadic
#4E47A4 #A44E47 #47A44E
tetradic
#4E47A4 #A4476E #9DA447 #47A47C
square
#4E47A4 #A4476E #9DA447 #47A47C
split-complementary
#4E47A4 #A47C47 #6EA447
monochromatic
#25224F #3A3579 #4E47A4 #706ABE #9995D1

Accessibility & contrast

On white

7.60
#4E47A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E47A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E47A4
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47A4#FFFFFF#000000##FFFFFF
##4E47A41.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0657A7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#2B5C6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e47a4;
/* rgb */ color: rgb(78, 71, 164);
/* oklch */ color: oklch(45.7% 0.145 282.4);
Tailwind
colors: {
  custom: {
    50: '#867ac0',
    500: '#4e47a4',
    950: '#000000',
  },
}
SCSS
$custom: #4e47a4;
$custom-light: #867ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47a4",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 164
  },
  "hsl": {
    "h": 244.516,
    "s": 39.574,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4567,
    "c": 0.14507,
    "h": 282.4
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#4E47A4
secondary
#B9BD8A
accent
#CF58C6
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E47A4

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

Preview Lab → · Contrast checker → · Palette generator →

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