#4E519D#4E519D

#4E519D is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.121 H 279.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4E519D
RGBrgb(78, 81, 157)
HSLhsl(238, 34%, 46%)
HSVhsv(238, 50%, 62%)
CMYKcmyk(50.3%, 48.4%, 0%, 38.4%)
CIE-LABlab(37.73, 20.40, -41.93)
CIE-LCHlch(37.73, 46.63, 295.94°)
OKLaboklab(47.11% 0.0189 -0.1192)
OKLCHoklch(47.11% 0.121 279)
XYZxyz(12.1682, 9.9382, 33.1688)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E519D #9D9A4E
analogous
#4E789D #4E519D #724E9D
triadic
#4E519D #9D4E51 #519D4E
tetradic
#4E519D #9D4E78 #9D9A4E #4E9D72
square
#4E519D #9D4E78 #9D9A4E #4E9D72
split-complementary
#4E519D #9D724E #789D4E
monochromatic
#25274B #3A3C74 #4E519D #7073B8 #999BCC

Accessibility & contrast

On white

7.03
#4E519D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E519D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E519D
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E519D#FFFFFF#000000##FFFFFF
##4E519D1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305CA0
Deuteranopia (green-blind)
#29569B
Tritanopia (blue-blind)
#30616F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e519d;
/* rgb */ color: rgb(78, 81, 157);
/* oklch */ color: oklch(47.1% 0.121 279.0);
Tailwind
colors: {
  custom: {
    50: '#8581ba',
    500: '#4e519d',
    950: '#000000',
  },
}
SCSS
$custom: #4e519d;
$custom-light: #8581ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e519d",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 237.722,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47113,
    "c": 0.12072,
    "h": 279
  },
  "luminance": 0.09939
}

Semantic roles & 50–950 ramp

primary
#4E519D
secondary
#B9B78E
accent
#C65ECA
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4E519D

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

Preview Lab → · Contrast checker → · Palette generator →

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