#4E519B#4E519B

#4E519B is a mid, moderate blue. Relative luminance 0.099; OKLCH L 47.0% C 0.118 H 279.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4E519B
RGBrgb(78, 81, 155)
HSLhsl(238, 33%, 46%)
HSVhsv(238, 50%, 61%)
CMYKcmyk(49.7%, 47.7%, 0%, 39.2%)
CIE-LABlab(37.61, 19.75, -40.93)
CIE-LCHlch(37.61, 45.44, 295.76°)
OKLaboklab(46.98% 0.0186 -0.1163)
OKLCHoklch(46.98% 0.118 279.1)
XYZxyz(11.9989, 9.8705, 32.2769)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E519B #9B984E
analogous
#4E779B #4E519B #714E9B
triadic
#4E519B #9B4E51 #519B4E
tetradic
#4E519B #9B4E77 #9B984E #4E9B71
square
#4E519B #9B4E77 #9B984E #4E9B71
split-complementary
#4E519B #9B714E #779B4E
monochromatic
#25264A #3A3C72 #4E519B #6F72B7 #989ACB

Accessibility & contrast

On white

7.06
#4E519B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E519B
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E519B#FFFFFF#000000##FFFFFF
##4E519B1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315C9E
Deuteranopia (green-blind)
#2B5699
Tritanopia (blue-blind)
#31616E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e519b;
/* rgb */ color: rgb(78, 81, 155);
/* oklch */ color: oklch(47.0% 0.118 279.1);
Tailwind
colors: {
  custom: {
    50: '#8581b9',
    500: '#4e519b',
    950: '#000000',
  },
}
SCSS
$custom: #4e519b;
$custom-light: #8581b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e519b",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 237.662,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46981,
    "c": 0.11776,
    "h": 279.1
  },
  "luminance": 0.09871
}

Semantic roles & 50–950 ramp

primary
#4E519B
secondary
#B8B68D
accent
#C55FC9
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E519B

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

Preview Lab → · Contrast checker → · Palette generator →

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