#4E47A9#4E47A9

#4E47A9 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.152 H 281.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#4E47A9
RGBrgb(78, 71, 169)
HSLhsl(244, 41%, 47%)
HSVhsv(244, 58%, 66%)
CMYKcmyk(53.8%, 58%, 0%, 33.7%)
CIE-LABlab(35.97, 30.65, -51.96)
CIE-LCHlch(35.97, 60.32, 300.54°)
OKLaboklab(46.05% 0.0312 -0.1488)
OKLCHoklch(46.05% 0.152 281.8)
XYZxyz(12.5544, 8.9900, 38.6021)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47A9 #A2A947
analogous
#4771A9 #4E47A9 #7F47A9
triadic
#4E47A9 #A94E47 #47A94E
tetradic
#4E47A9 #A94771 #A2A947 #47A97F
square
#4E47A9 #A94771 #A2A947 #47A97F
split-complementary
#4E47A9 #A97F47 #71A947
monochromatic
#262353 #3A357E #4E47A9 #726CC1 #9B97D3

Accessibility & contrast

On white

7.50
#4E47A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4E47A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E47A9
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47A9#FFFFFF#000000##FFFFFF
##4E47A91.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#275E71
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e47a9;
/* rgb */ color: rgb(78, 71, 169);
/* oklch */ color: oklch(46.0% 0.152 281.8);
Tailwind
colors: {
  custom: {
    50: '#877ac3',
    500: '#4e47a9',
    950: '#000000',
  },
}
SCSS
$custom: #4e47a9;
$custom-light: #877ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47a9",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 169
  },
  "hsl": {
    "h": 244.286,
    "s": 40.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46048,
    "c": 0.15201,
    "h": 281.8
  },
  "luminance": 0.08991
}

Semantic roles & 50–950 ramp

primary
#4E47A9
secondary
#BCBF8C
accent
#D157C8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E47A9

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

Preview Lab → · Contrast checker → · Palette generator →

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