#4E49B1#4E49B1

#4E49B1 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.0% C 0.160 H 280.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#4E49B1
RGBrgb(78, 73, 177)
HSLhsl(243, 42%, 49%)
HSVhsv(243, 59%, 69%)
CMYKcmyk(55.9%, 58.8%, 0%, 30.6%)
CIE-LABlab(37.04, 31.99, -54.97)
CIE-LCHlch(37.04, 63.61, 300.20°)
OKLaboklab(47.03% 0.029 -0.1577)
OKLCHoklch(47.03% 0.16 280.4)
XYZxyz(13.4578, 9.5583, 42.7222)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E49B1 #ACB149
analogous
#4978B1 #4E49B1 #8249B1
triadic
#4E49B1 #B14E49 #49B14E
tetradic
#4E49B1 #B14978 #ACB149 #49B182
square
#4E49B1 #B14978 #ACB149 #49B182
split-complementary
#4E49B1 #B18249 #78B149
monochromatic
#28255A #3B3786 #4E49B1 #7672C5 #A09ED7

Accessibility & contrast

On white

7.21
#4E49B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4E49B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E49B1
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E49B1#FFFFFF#000000##FFFFFF
##4E49B11.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#1C6276
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e49b1;
/* rgb */ color: rgb(78, 73, 177);
/* oklch */ color: oklch(47.0% 0.160 280.4);
Tailwind
colors: {
  custom: {
    50: '#887cc9',
    500: '#4e49b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e49b1;
$custom-light: #887cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e49b1",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 177
  },
  "hsl": {
    "h": 242.885,
    "s": 41.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47026,
    "c": 0.1603,
    "h": 280.4
  },
  "luminance": 0.09559
}

Semantic roles & 50–950 ramp

primary
#4E49B1
secondary
#C1C392
accent
#D156CC
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E49B1

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

Preview Lab → · Contrast checker → · Palette generator →

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