#4E517E#4E517E

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

Color values

HEX#4E517E
RGBrgb(78, 81, 126)
HSLhsl(236, 24%, 40%)
HSVhsv(236, 38%, 49%)
CMYKcmyk(38.1%, 35.7%, 0%, 50.6%)
CIE-LABlab(36.00, 10.69, -25.81)
CIE-LCHlch(36.00, 27.93, 292.50°)
OKLaboklab(45.23% 0.0129 -0.0722)
OKLCHoklch(45.23% 0.073 280.1)
XYZxyz(9.8491, 9.0106, 20.9549)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E517E #7E7B4E
analogous
#4E697E #4E517E #634E7E
triadic
#4E517E #7E4E51 #517E4E
tetradic
#4E517E #7E4E69 #7E7B4E #4E7E63
square
#4E517E #7E4E69 #7E7B4E #4E7E63
split-complementary
#4E517E #7E634E #697E4E
monochromatic
#1F2032 #373958 #4E517E #686BA1 #8E90B9

Accessibility & contrast

On white

7.49
#4E517E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E517E
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E517E#FFFFFF#000000##FFFFFF
##4E517E1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435680
Deuteranopia (green-blind)
#40537D
Tritanopia (blue-blind)
#405A61
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e517e;
/* rgb */ color: rgb(78, 81, 126);
/* oklch */ color: oklch(45.2% 0.073 280.1);
Tailwind
colors: {
  custom: {
    50: '#8181a3',
    500: '#4e517e',
    950: '#000000',
  },
}
SCSS
$custom: #4e517e;
$custom-light: #8181a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e517e",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 236.25,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.45234,
    "c": 0.07332,
    "h": 280.1
  },
  "luminance": 0.09011
}

Semantic roles & 50–950 ramp

primary
#4E517E
secondary
#A6A382
accent
#BA68C0
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E517E

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

Preview Lab → · Contrast checker → · Palette generator →

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