#4E47A8#4E47A8

#4E47A8 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.151 H 281.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4E47A8
RGBrgb(78, 71, 168)
HSLhsl(244, 41%, 47%)
HSVhsv(244, 58%, 66%)
CMYKcmyk(53.6%, 57.7%, 0%, 34.1%)
CIE-LABlab(35.89, 30.33, -51.48)
CIE-LCHlch(35.89, 59.75, 300.50°)
OKLaboklab(45.97% 0.0312 -0.1474)
OKLCHoklch(45.97% 0.151 281.9)
XYZxyz(12.4608, 8.9526, 38.1096)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47A8 #A1A847
analogous
#4771A8 #4E47A8 #7F47A8
triadic
#4E47A8 #A84E47 #47A84E
tetradic
#4E47A8 #A84771 #A1A847 #47A87F
square
#4E47A8 #A84771 #A1A847 #47A87F
split-complementary
#4E47A8 #A87F47 #71A847
monochromatic
#262352 #3A357D #4E47A8 #726CC1 #9B97D3

Accessibility & contrast

On white

7.53
#4E47A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4E47A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E47A8
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47A8#FFFFFF#000000##FFFFFF
##4E47A81.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#285D70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e47a8;
/* rgb */ color: rgb(78, 71, 168);
/* oklch */ color: oklch(46.0% 0.151 281.9);
Tailwind
colors: {
  custom: {
    50: '#877ac3',
    500: '#4e47a8',
    950: '#000000',
  },
}
SCSS
$custom: #4e47a8;
$custom-light: #877ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47a8",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 168
  },
  "hsl": {
    "h": 244.33,
    "s": 40.586,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45972,
    "c": 0.15063,
    "h": 281.9
  },
  "luminance": 0.08953
}

Semantic roles & 50–950 ramp

primary
#4E47A8
secondary
#BBBF8C
accent
#D057C8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E47A8

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

Preview Lab → · Contrast checker → · Palette generator →

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