#4E49B8#4E49B8

#4E49B8 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.6% C 0.170 H 279.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4E49B8
RGBrgb(78, 73, 184)
HSLhsl(243, 44%, 50%)
HSVhsv(243, 60%, 72%)
CMYKcmyk(57.6%, 60.3%, 0%, 27.8%)
CIE-LABlab(37.56, 34.27, -58.26)
CIE-LCHlch(37.56, 67.59, 300.47°)
OKLaboklab(47.58% 0.0288 -0.1673)
OKLCHoklch(47.58% 0.17 279.8)
XYZxyz(14.1734, 9.8445, 46.4914)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E49B8 #B3B849
analogous
#497BB8 #4E49B8 #8649B8
triadic
#4E49B8 #B84E49 #49B84E
tetradic
#4E49B8 #B8497B #B3B849 #49B886
square
#4E49B8 #B8497B #B3B849 #49B886
split-complementary
#4E49B8 #B88649 #7BB849
monochromatic
#282661 #3B378D #4E49B8 #7975C9 #A4A1DA

Accessibility & contrast

On white

7.07
#4E49B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4E49B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E49B8
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E49B8#FFFFFF#000000##FFFFFF
##4E49B81.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#0F6479
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e49b8;
/* rgb */ color: rgb(78, 73, 184);
/* oklch */ color: oklch(47.6% 0.170 279.8);
Tailwind
colors: {
  custom: {
    50: '#897cce',
    500: '#4e49b8',
    950: '#000000',
  },
}
SCSS
$custom: #4e49b8;
$custom-light: #897cce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e49b8",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 184
  },
  "hsl": {
    "h": 242.703,
    "s": 43.874,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47578,
    "c": 0.16977,
    "h": 279.8
  },
  "luminance": 0.09845
}

Semantic roles & 50–950 ramp

primary
#4E49B8
secondary
#C5C796
accent
#D454CE
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4E49B8

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

Preview Lab → · Contrast checker → · Palette generator →

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