#4E518F#4E518F

#4E518F is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.2% C 0.100 H 279.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#4E518F
RGBrgb(78, 81, 143)
HSLhsl(237, 29%, 43%)
HSVhsv(237, 45%, 56%)
CMYKcmyk(45.5%, 43.4%, 0%, 43.9%)
CIE-LABlab(36.91, 15.92, -34.79)
CIE-LCHlch(36.91, 38.26, 294.59°)
OKLaboklab(46.22% 0.0167 -0.0983)
OKLCHoklch(46.22% 0.1 279.6)
XYZxyz(11.0408, 9.4872, 27.2307)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E518F #8F8C4E
analogous
#4E718F #4E518F #6B4E8F
triadic
#4E518F #8F4E51 #518F4E
tetradic
#4E518F #8F4E71 #8F8C4E #4E8F6B
square
#4E518F #8F4E71 #8F8C4E #4E8F6B
split-complementary
#4E518F #8F6B4E #718F4E
monochromatic
#232440 #383B67 #4E518F #6C6FAF #9395C4

Accessibility & contrast

On white

7.25
#4E518F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4E518F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E518F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E518F#FFFFFF#000000##FFFFFF
##4E518F1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5991
Deuteranopia (green-blind)
#35548E
Tritanopia (blue-blind)
#395E69
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e518f;
/* rgb */ color: rgb(78, 81, 143);
/* oklch */ color: oklch(46.2% 0.100 279.6);
Tailwind
colors: {
  custom: {
    50: '#8381b0',
    500: '#4e518f',
    950: '#000000',
  },
}
SCSS
$custom: #4e518f;
$custom-light: #8381b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e518f",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 237.231,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46219,
    "c": 0.09972,
    "h": 279.6
  },
  "luminance": 0.09488
}

Semantic roles & 50–950 ramp

primary
#4E518F
secondary
#B1AF88
accent
#C162C6
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E518F

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

Preview Lab → · Contrast checker → · Palette generator →

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