#4E49A6#4E49A6

#4E49A6 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.145 H 281.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#4E49A6
RGBrgb(78, 73, 166)
HSLhsl(243, 39%, 47%)
HSVhsv(243, 56%, 65%)
CMYKcmyk(53%, 56%, 0%, 34.9%)
CIE-LABlab(36.25, 28.42, -49.71)
CIE-LCHlch(36.25, 57.26, 299.76°)
OKLaboklab(46.19% 0.029 -0.1422)
OKLCHoklch(46.19% 0.145 281.5)
XYZxyz(12.4053, 9.1372, 37.1790)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E49A6 #A1A649
analogous
#4973A6 #4E49A6 #7D49A6
triadic
#4E49A6 #A64E49 #49A64E
tetradic
#4E49A6 #A64973 #A1A649 #49A67D
square
#4E49A6 #A64973 #A1A649 #49A67D
split-complementary
#4E49A6 #A67D49 #73A649
monochromatic
#262451 #3A367B #4E49A6 #726DBF #9B98D2

Accessibility & contrast

On white

7.43
#4E49A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4E49A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E49A6
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E49A6#FFFFFF#000000##FFFFFF
##4E49A61.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C59A9
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#295E70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e49a6;
/* rgb */ color: rgb(78, 73, 166);
/* oklch */ color: oklch(46.2% 0.145 281.5);
Tailwind
colors: {
  custom: {
    50: '#877cc1',
    500: '#4e49a6',
    950: '#000000',
  },
}
SCSS
$custom: #4e49a6;
$custom-light: #877cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e49a6",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 166
  },
  "hsl": {
    "h": 243.226,
    "s": 38.912,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4619,
    "c": 0.14508,
    "h": 281.5
  },
  "luminance": 0.09138
}

Semantic roles & 50–950 ramp

primary
#4E49A6
secondary
#BBBE8D
accent
#CF59C8
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E49A6

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

Preview Lab → · Contrast checker → · Palette generator →

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