#4E49C0#4E49C0

#4E49C0 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.2% C 0.180 H 279.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#4E49C0
RGBrgb(78, 73, 192)
HSLhsl(243, 49%, 52%)
HSVhsv(243, 62%, 75%)
CMYKcmyk(59.4%, 62%, 0%, 24.7%)
CIE-LABlab(38.18, 36.88, -61.94)
CIE-LCHlch(38.18, 72.09, 300.77°)
OKLaboklab(48.23% 0.0285 -0.1781)
OKLCHoklch(48.23% 0.18 279.1)
XYZxyz(15.0358, 10.1895, 51.0334)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E49C0 #BBC049
analogous
#4980C0 #4E49C0 #8A49C0
triadic
#4E49C0 #C04E49 #49C04E
tetradic
#4E49C0 #C04980 #BBC049 #49C08A
square
#4E49C0 #C04980 #BBC049 #49C08A
split-complementary
#4E49C0 #C08A49 #80C049
monochromatic
#28256A #393497 #4E49C0 #7A76D0 #A6A4DF

Accessibility & contrast

On white

6.91
#4E49C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4E49C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E49C0
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E49C0#FFFFFF#000000##FFFFFF
##4E49C01.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e49c0;
/* rgb */ color: rgb(78, 73, 192);
/* oklch */ color: oklch(48.2% 0.180 279.1);
Tailwind
colors: {
  custom: {
    50: '#8b7cd4',
    500: '#4e49c0',
    950: '#000000',
  },
}
SCSS
$custom: #4e49c0;
$custom-light: #8b7cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e49c0",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 192
  },
  "hsl": {
    "h": 242.521,
    "s": 48.571,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48226,
    "c": 0.18039,
    "h": 279.1
  },
  "luminance": 0.10191
}

Semantic roles & 50–950 ramp

primary
#4E49C0
secondary
#CACC98
accent
#D850D2
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E49C0

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

Preview Lab → · Contrast checker → · Palette generator →

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