#4E518A#4E518A

#4E518A is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.9% C 0.092 H 279.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4E518A
RGBrgb(78, 81, 138)
HSLhsl(237, 28%, 42%)
HSVhsv(237, 43%, 54%)
CMYKcmyk(43.5%, 41.3%, 0%, 45.9%)
CIE-LABlab(36.63, 14.35, -32.18)
CIE-LCHlch(36.63, 35.24, 294.04°)
OKLaboklab(45.92% 0.0157 -0.0907)
OKLCHoklch(45.92% 0.092 279.8)
XYZxyz(10.6704, 9.3391, 25.2802)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E518A #8A874E
analogous
#4E6F8A #4E518A #694E8A
triadic
#4E518A #8A4E51 #518A4E
tetradic
#4E518A #8A4E6F #8A874E #4E8A69
square
#4E518A #8A4E6F #8A874E #4E8A69
split-complementary
#4E518A #8A694E #6F8A4E
monochromatic
#22233C #383A63 #4E518A #6A6DAB #9194C1

Accessibility & contrast

On white

7.32
#4E518A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4E518A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E518A
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E518A#FFFFFF#000000##FFFFFF
##4E518A1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D588C
Deuteranopia (green-blind)
#395489
Tritanopia (blue-blind)
#3B5C67
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e518a;
/* rgb */ color: rgb(78, 81, 138);
/* oklch */ color: oklch(45.9% 0.092 279.8);
Tailwind
colors: {
  custom: {
    50: '#8381ac',
    500: '#4e518a',
    950: '#000000',
  },
}
SCSS
$custom: #4e518a;
$custom-light: #8381ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e518a",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 237,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45917,
    "c": 0.09205,
    "h": 279.8
  },
  "luminance": 0.0934
}

Semantic roles & 50–950 ramp

primary
#4E518A
secondary
#AEAC86
accent
#BF64C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E518A

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

Preview Lab → · Contrast checker → · Palette generator →

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