#4E49AB#4E49AB

#4E49AB is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.6% C 0.152 H 281.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4E49AB
RGBrgb(78, 73, 171)
HSLhsl(243, 40%, 48%)
HSVhsv(243, 57%, 67%)
CMYKcmyk(54.4%, 57.3%, 0%, 32.9%)
CIE-LABlab(36.60, 30.04, -52.12)
CIE-LCHlch(36.60, 60.16, 299.96°)
OKLaboklab(46.57% 0.029 -0.1492)
OKLCHoklch(46.57% 0.152 281)
XYZxyz(12.8728, 9.3243, 39.6416)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E49AB #A6AB49
analogous
#4975AB #4E49AB #7F49AB
triadic
#4E49AB #AB4E49 #49AB4E
tetradic
#4E49AB #AB4975 #A6AB49 #49AB7F
square
#4E49AB #AB4975 #A6AB49 #49AB7F
split-complementary
#4E49AB #AB7F49 #75AB49
monochromatic
#272455 #3A3780 #4E49AB #746FC2 #9D9AD4

Accessibility & contrast

On white

7.33
#4E49AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E49AB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E49AB#FFFFFF#000000##FFFFFF
##4E49AB1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#246073
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e49ab;
/* rgb */ color: rgb(78, 73, 171);
/* oklch */ color: oklch(46.6% 0.152 281.0);
Tailwind
colors: {
  custom: {
    50: '#877cc5',
    500: '#4e49ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e49ab;
$custom-light: #877cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e49ab",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 171
  },
  "hsl": {
    "h": 243.061,
    "s": 40.164,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46565,
    "c": 0.15205,
    "h": 281
  },
  "luminance": 0.09325
}

Semantic roles & 50–950 ramp

primary
#4E49AB
secondary
#BEC08F
accent
#D058CA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E49AB

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

Preview Lab → · Contrast checker → · Palette generator →

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