#4E47B2#4E47B2

#4E47B2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.7% C 0.164 H 280.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4E47B2
RGBrgb(78, 71, 178)
HSLhsl(244, 43%, 49%)
HSVhsv(244, 60%, 70%)
CMYKcmyk(56.2%, 60.1%, 0%, 30.2%)
CIE-LABlab(36.63, 33.56, -56.23)
CIE-LCHlch(36.63, 65.48, 300.83°)
OKLaboklab(46.75% 0.031 -0.1613)
OKLCHoklch(46.75% 0.164 280.9)
XYZxyz(13.4285, 9.3397, 43.2060)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47B2 #ABB247
analogous
#4776B2 #4E47B2 #8447B2
triadic
#4E47B2 #B24E47 #47B24E
tetradic
#4E47B2 #B24776 #ABB247 #47B284
square
#4E47B2 #B24776 #ABB247 #47B284
split-complementary
#4E47B2 #B28447 #76B247
monochromatic
#28245B #3B3686 #4E47B2 #7670C6 #A09CD7

Accessibility & contrast

On white

7.32
#4E47B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4E47B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E47B2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47B2#FFFFFF#000000##FFFFFF
##4E47B21.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#1B6175
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e47b2;
/* rgb */ color: rgb(78, 71, 178);
/* oklch */ color: oklch(46.7% 0.164 280.9);
Tailwind
colors: {
  custom: {
    50: '#897aca',
    500: '#4e47b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e47b2;
$custom-light: #897aca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47b2",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 243.925,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46749,
    "c": 0.16429,
    "h": 280.9
  },
  "luminance": 0.09341
}

Semantic roles & 50–950 ramp

primary
#4E47B2
secondary
#C1C491
accent
#D355CB
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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