#4E517D#4E517D

#4E517D is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.2% C 0.072 H 280.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#4E517D
RGBrgb(78, 81, 125)
HSLhsl(236, 23%, 40%)
HSVhsv(236, 38%, 49%)
CMYKcmyk(37.6%, 35.2%, 0%, 51%)
CIE-LABlab(35.96, 10.39, -25.27)
CIE-LCHlch(35.96, 27.32, 292.36°)
OKLaboklab(45.18% 0.0126 -0.0706)
OKLCHoklch(45.18% 0.072 280.1)
XYZxyz(9.7849, 8.9849, 20.6168)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E517D #7D7A4E
analogous
#4E697D #4E517D #624E7D
triadic
#4E517D #7D4E51 #517D4E
tetradic
#4E517D #7D4E69 #7D7A4E #4E7D62
square
#4E517D #7D4E69 #7D7A4E #4E7D62
split-complementary
#4E517D #7D624E #697D4E
monochromatic
#1F2032 #363957 #4E517D #686BA1 #8D90B8

Accessibility & contrast

On white

7.51
#4E517D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4E517D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E517D
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E517D#FFFFFF#000000##FFFFFF
##4E517D1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43567F
Deuteranopia (green-blind)
#40537C
Tritanopia (blue-blind)
#415961
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e517d;
/* rgb */ color: rgb(78, 81, 125);
/* oklch */ color: oklch(45.2% 0.072 280.1);
Tailwind
colors: {
  custom: {
    50: '#8181a3',
    500: '#4e517d',
    950: '#000000',
  },
}
SCSS
$custom: #4e517d;
$custom-light: #8181a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e517d",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 236.17,
    "s": 23.153,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45179,
    "c": 0.07174,
    "h": 280.1
  },
  "luminance": 0.08985
}

Semantic roles & 50–950 ramp

primary
#4E517D
secondary
#A5A382
accent
#BA68C0
background
#F8F7FA
surface
#EFEEF3
border
#CAC9CD
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E517D

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

Preview Lab → · Contrast checker → · Palette generator →

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