#4E518E#4E518E

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

Color values

HEX#4E518E
RGBrgb(78, 81, 142)
HSLhsl(237, 29%, 43%)
HSVhsv(237, 45%, 56%)
CMYKcmyk(45.1%, 43%, 0%, 44.3%)
CIE-LABlab(36.85, 15.61, -34.27)
CIE-LCHlch(36.85, 37.66, 294.48°)
OKLaboklab(46.16% 0.0165 -0.0968)
OKLCHoklch(46.16% 0.098 279.7)
XYZxyz(10.9653, 9.4570, 26.8336)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E518E #8E8B4E
analogous
#4E718E #4E518E #6B4E8E
triadic
#4E518E #8E4E51 #518E4E
tetradic
#4E518E #8E4E71 #8E8B4E #4E8E6B
square
#4E518E #8E4E71 #8E8B4E #4E8E6B
split-complementary
#4E518E #8E6B4E #718E4E
monochromatic
#23243F #383A66 #4E518E #6B6EAE #9395C4

Accessibility & contrast

On white

7.26
#4E518E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E518E
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E518E#FFFFFF#000000##FFFFFF
##4E518E1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5990
Deuteranopia (green-blind)
#36548D
Tritanopia (blue-blind)
#395D68
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e518e;
/* rgb */ color: rgb(78, 81, 142);
/* oklch */ color: oklch(46.2% 0.098 279.7);
Tailwind
colors: {
  custom: {
    50: '#8381af',
    500: '#4e518e',
    950: '#000000',
  },
}
SCSS
$custom: #4e518e;
$custom-light: #8381af;
$custom-dark: #000000;
JSON
{
  "hex": "#4e518e",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 237.188,
    "s": 29.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46158,
    "c": 0.0982,
    "h": 279.7
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

primary
#4E518E
secondary
#B0AE88
accent
#C162C5
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E518E

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

Preview Lab → · Contrast checker → · Palette generator →

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