#4E519A#4E519A

#4E519A is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.9% C 0.116 H 279.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#4E519A
RGBrgb(78, 81, 154)
HSLhsl(238, 33%, 45%)
HSVhsv(238, 49%, 60%)
CMYKcmyk(49.4%, 47.4%, 0%, 39.6%)
CIE-LABlab(37.55, 19.43, -40.42)
CIE-LCHlch(37.55, 44.85, 295.67°)
OKLaboklab(46.92% 0.0185 -0.1148)
OKLCHoklch(46.92% 0.116 279.1)
XYZxyz(11.9153, 9.8370, 31.8365)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E519A #9A974E
analogous
#4E779A #4E519A #714E9A
triadic
#4E519A #9A4E51 #519A4E
tetradic
#4E519A #9A4E77 #9A974E #4E9A71
square
#4E519A #9A4E77 #9A974E #4E9A71
split-complementary
#4E519A #9A714E #779A4E
monochromatic
#252649 #393C71 #4E519A #6F72B6 #989ACB

Accessibility & contrast

On white

7.08
#4E519A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E519A
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E519A#FFFFFF#000000##FFFFFF
##4E519A1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325B9D
Deuteranopia (green-blind)
#2C5698
Tritanopia (blue-blind)
#32616E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e519a;
/* rgb */ color: rgb(78, 81, 154);
/* oklch */ color: oklch(46.9% 0.116 279.1);
Tailwind
colors: {
  custom: {
    50: '#8481b8',
    500: '#4e519a',
    950: '#000000',
  },
}
SCSS
$custom: #4e519a;
$custom-light: #8481b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e519a",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 237.632,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46915,
    "c": 0.11627,
    "h": 279.1
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#4E519A
secondary
#B7B68D
accent
#C55FC9
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E519A

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

Preview Lab → · Contrast checker → · Palette generator →

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