#4E49B5#4E49B5

#4E49B5 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.3% C 0.166 H 280.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4E49B5
RGBrgb(78, 73, 181)
HSLhsl(243, 43%, 50%)
HSVhsv(243, 60%, 71%)
CMYKcmyk(56.9%, 59.7%, 0%, 29%)
CIE-LABlab(37.34, 33.30, -56.86)
CIE-LCHlch(37.34, 65.89, 300.35°)
OKLaboklab(47.34% 0.0289 -0.1632)
OKLCHoklch(47.34% 0.166 280.1)
XYZxyz(13.8623, 9.7201, 44.8528)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E49B5 #B0B549
analogous
#497AB5 #4E49B5 #8449B5
triadic
#4E49B5 #B54E49 #49B54E
tetradic
#4E49B5 #B5497A #B0B549 #49B584
square
#4E49B5 #B5497A #B0B549 #49B584
split-complementary
#4E49B5 #B58449 #7AB549
monochromatic
#28265E #3B3789 #4E49B5 #7874C7 #A2A0D9

Accessibility & contrast

On white

7.13
#4E49B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4E49B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E49B5
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E49B5#FFFFFF#000000##FFFFFF
##4E49B51.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#166378
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e49b5;
/* rgb */ color: rgb(78, 73, 181);
/* oklch */ color: oklch(47.3% 0.166 280.1);
Tailwind
colors: {
  custom: {
    50: '#897ccc',
    500: '#4e49b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e49b5;
$custom-light: #897ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e49b5",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 181
  },
  "hsl": {
    "h": 242.778,
    "s": 42.52,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4734,
    "c": 0.16572,
    "h": 280.1
  },
  "luminance": 0.09721
}

Semantic roles & 50–950 ramp

primary
#4E49B5
secondary
#C3C594
accent
#D255CD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E49B5

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

Preview Lab → · Contrast checker → · Palette generator →

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