#4E518D#4E518D

#4E518D is a mid, moderate blue. Relative luminance 0.094; OKLCH L 46.1% C 0.097 H 279.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4E518D
RGBrgb(78, 81, 141)
HSLhsl(237, 29%, 43%)
HSVhsv(237, 45%, 55%)
CMYKcmyk(44.7%, 42.6%, 0%, 44.7%)
CIE-LABlab(36.79, 15.29, -33.75)
CIE-LCHlch(36.79, 37.05, 294.37°)
OKLaboklab(46.1% 0.0163 -0.0953)
OKLCHoklch(46.1% 0.097 279.7)
XYZxyz(10.8906, 9.4271, 26.4399)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E518D #8D8A4E
analogous
#4E708D #4E518D #6A4E8D
triadic
#4E518D #8D4E51 #518D4E
tetradic
#4E518D #8D4E70 #8D8A4E #4E8D6A
square
#4E518D #8D4E70 #8D8A4E #4E8D6A
split-complementary
#4E518D #8D6A4E #708D4E
monochromatic
#22243E #383A66 #4E518D #6B6EAD #9295C3

Accessibility & contrast

On white

7.28
#4E518D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4E518D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E518D
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E518D#FFFFFF#000000##FFFFFF
##4E518D1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B598F
Deuteranopia (green-blind)
#37548C
Tritanopia (blue-blind)
#3A5D68
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e518d;
/* rgb */ color: rgb(78, 81, 141);
/* oklch */ color: oklch(46.1% 0.097 279.7);
Tailwind
colors: {
  custom: {
    50: '#8381ae',
    500: '#4e518d',
    950: '#000000',
  },
}
SCSS
$custom: #4e518d;
$custom-light: #8381ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e518d",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 237.143,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46097,
    "c": 0.09667,
    "h": 279.7
  },
  "luminance": 0.09428
}

Semantic roles & 50–950 ramp

primary
#4E518D
secondary
#AFAE87
accent
#C063C5
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E518D

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

Preview Lab → · Contrast checker → · Palette generator →

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