#4E47BF#4E47BF

#4E47BF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.8% C 0.182 H 279.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4E47BF
RGBrgb(78, 71, 191)
HSLhsl(244, 48%, 51%)
HSVhsv(244, 63%, 75%)
CMYKcmyk(59.2%, 62.8%, 0%, 25.1%)
CIE-LABlab(37.64, 37.77, -62.24)
CIE-LCHlch(37.64, 72.80, 301.25°)
OKLaboklab(47.81% 0.0303 -0.179)
OKLCHoklch(47.81% 0.182 279.6)
XYZxyz(14.7961, 9.8867, 50.4087)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47BF #B8BF47
analogous
#477CBF #4E47BF #8A47BF
triadic
#4E47BF #BF4E47 #47BF4E
tetradic
#4E47BF #BF477C #B8BF47 #47BF8A
square
#4E47BF #BF477C #B8BF47 #47BF8A
split-complementary
#4E47BF #BF8A47 #7CBF47
monochromatic
#282468 #393495 #4E47BF #7A74CF #A5A2DF

Accessibility & contrast

On white

7.05
#4E47BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4E47BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E47BF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47BF#FFFFFF#000000##FFFFFF
##4E47BF1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e47bf;
/* rgb */ color: rgb(78, 71, 191);
/* oklch */ color: oklch(47.8% 0.182 279.6);
Tailwind
colors: {
  custom: {
    50: '#8b7bd3',
    500: '#4e47bf',
    950: '#000000',
  },
}
SCSS
$custom: #4e47bf;
$custom-light: #8b7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47bf",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 243.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47805,
    "c": 0.18157,
    "h": 279.6
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#4E47BF
secondary
#C8CB96
accent
#D850D0
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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