#4E49A5#4E49A5

#4E49A5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.144 H 281.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4E49A5
RGBrgb(78, 73, 165)
HSLhsl(243, 39%, 47%)
HSVhsv(243, 56%, 65%)
CMYKcmyk(52.7%, 55.8%, 0%, 35.3%)
CIE-LABlab(36.18, 28.10, -49.22)
CIE-LCHlch(36.18, 56.68, 299.72°)
OKLaboklab(46.12% 0.0289 -0.1407)
OKLCHoklch(46.12% 0.144 281.6)
XYZxyz(12.3139, 9.1007, 36.6978)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E49A5 #A0A549
analogous
#4972A5 #4E49A5 #7C49A5
triadic
#4E49A5 #A54E49 #49A54E
tetradic
#4E49A5 #A54972 #A0A549 #49A57C
square
#4E49A5 #A54972 #A0A549 #49A57C
split-complementary
#4E49A5 #A57C49 #72A549
monochromatic
#262350 #3A367B #4E49A5 #716DBE #9A97D1

Accessibility & contrast

On white

7.45
#4E49A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4E49A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E49A5
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E49A5#FFFFFF#000000##FFFFFF
##4E49A51.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F58A8
Deuteranopia (green-blind)
#0052A3
Tritanopia (blue-blind)
#2A5E70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e49a5;
/* rgb */ color: rgb(78, 73, 165);
/* oklch */ color: oklch(46.1% 0.144 281.6);
Tailwind
colors: {
  custom: {
    50: '#867cc0',
    500: '#4e49a5',
    950: '#000000',
  },
}
SCSS
$custom: #4e49a5;
$custom-light: #867cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e49a5",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 165
  },
  "hsl": {
    "h": 243.261,
    "s": 38.655,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46116,
    "c": 0.14367,
    "h": 281.6
  },
  "luminance": 0.09101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E49A5

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

Preview Lab → · Contrast checker → · Palette generator →

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