#4E47AF#4E47AF

#4E47AF is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.5% C 0.160 H 281.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#4E47AF
RGBrgb(78, 71, 175)
HSLhsl(244, 42%, 48%)
HSVhsv(244, 59%, 69%)
CMYKcmyk(55.4%, 59.4%, 0%, 31.4%)
CIE-LABlab(36.41, 32.59, -54.81)
CIE-LCHlch(36.41, 63.77, 300.73°)
OKLaboklab(46.51% 0.0311 -0.1572)
OKLCHoklch(46.51% 0.16 281.2)
XYZxyz(13.1306, 9.2205, 41.6370)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47AF #A8AF47
analogous
#4774AF #4E47AF #8247AF
triadic
#4E47AF #AF4E47 #47AF4E
tetradic
#4E47AF #AF4774 #A8AF47 #47AF82
square
#4E47AF #AF4774 #A8AF47 #47AF82
split-complementary
#4E47AF #AF8247 #74AF47
monochromatic
#272458 #3B3583 #4E47AF #756FC4 #9E9AD6

Accessibility & contrast

On white

7.38
#4E47AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4E47AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E47AF
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47AF#FFFFFF#000000##FFFFFF
##4E47AF1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#206074
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e47af;
/* rgb */ color: rgb(78, 71, 175);
/* oklch */ color: oklch(46.5% 0.160 281.2);
Tailwind
colors: {
  custom: {
    50: '#887ac8',
    500: '#4e47af',
    950: '#000000',
  },
}
SCSS
$custom: #4e47af;
$custom-light: #887ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47af",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 244.038,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46513,
    "c": 0.16024,
    "h": 281.2
  },
  "luminance": 0.09221
}

Semantic roles & 50–950 ramp

primary
#4E47AF
secondary
#BFC28F
accent
#D256CA
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E47AF

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

Preview Lab → · Contrast checker → · Palette generator →

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