#4E47BE#4E47BE

#4E47BE is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.7% C 0.180 H 279.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4E47BE
RGBrgb(78, 71, 190)
HSLhsl(244, 48%, 51%)
HSVhsv(244, 63%, 75%)
CMYKcmyk(58.9%, 62.6%, 0%, 25.5%)
CIE-LABlab(37.56, 37.45, -61.78)
CIE-LCHlch(37.56, 72.25, 301.22°)
OKLaboklab(47.72% 0.0304 -0.1777)
OKLCHoklch(47.72% 0.18 279.7)
XYZxyz(14.6864, 9.8429, 49.8312)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47BE #B7BE47
analogous
#477BBE #4E47BE #8947BE
triadic
#4E47BE #BE4E47 #47BE4E
tetradic
#4E47BE #BE477B #B7BE47 #47BE89
square
#4E47BE #BE477B #B7BE47 #47BE89
split-complementary
#4E47BE #BE8947 #7BBE47
monochromatic
#282466 #3A3494 #4E47BE #7A74CE #A5A1DE

Accessibility & contrast

On white

7.07
#4E47BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4E47BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E47BE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47BE#FFFFFF#000000##FFFFFF
##4E47BE1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e47be;
/* rgb */ color: rgb(78, 71, 190);
/* oklch */ color: oklch(47.7% 0.180 279.7);
Tailwind
colors: {
  custom: {
    50: '#8b7bd2',
    500: '#4e47be',
    950: '#000000',
  },
}
SCSS
$custom: #4e47be;
$custom-light: #8b7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47be",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 243.529,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47722,
    "c": 0.18026,
    "h": 279.7
  },
  "luminance": 0.09844
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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