#4E47BC#4E47BC

#4E47BC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.6% C 0.178 H 279.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#4E47BC
RGBrgb(78, 71, 188)
HSLhsl(244, 47%, 51%)
HSVhsv(244, 62%, 74%)
CMYKcmyk(58.5%, 62.2%, 0%, 26.3%)
CIE-LABlab(37.40, 36.80, -60.87)
CIE-LCHlch(37.40, 71.13, 301.16°)
OKLaboklab(47.56% 0.0305 -0.175)
OKLCHoklch(47.56% 0.178 279.9)
XYZxyz(14.4694, 9.7560, 48.6878)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47BC #B5BC47
analogous
#477ABC #4E47BC #8847BC
triadic
#4E47BC #BC4E47 #47BC4E
tetradic
#4E47BC #BC477A #B5BC47 #47BC88
square
#4E47BC #BC477A #B5BC47 #47BC88
split-complementary
#4E47BC #BC8847 #7ABC47
monochromatic
#282464 #3A3591 #4E47BC #7974CC #A4A1DD

Accessibility & contrast

On white

7.12
#4E47BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4E47BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E47BC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47BC#FFFFFF#000000##FFFFFF
##4E47BC1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#03647B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e47bc;
/* rgb */ color: rgb(78, 71, 188);
/* oklch */ color: oklch(47.6% 0.178 279.9);
Tailwind
colors: {
  custom: {
    50: '#8a7bd1',
    500: '#4e47bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e47bc;
$custom-light: #8a7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47bc",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 243.59,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47557,
    "c": 0.17763,
    "h": 279.9
  },
  "luminance": 0.09757
}

Semantic roles & 50–950 ramp

primary
#4E47BC
secondary
#C6C995
accent
#D652CE
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4E47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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