#4E5387#4E5387

#4E5387 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.2% C 0.084 H 278.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#4E5387
RGBrgb(78, 83, 135)
HSLhsl(235, 27%, 42%)
HSVhsv(235, 42%, 53%)
CMYKcmyk(42.2%, 38.5%, 0%, 47.1%)
CIE-LABlab(37.03, 12.14, -29.72)
CIE-LCHlch(37.03, 32.10, 292.22°)
OKLaboklab(46.17% 0.0123 -0.0835)
OKLCHoklch(46.17% 0.084 278.4)
XYZxyz(10.6070, 9.5550, 24.2024)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5387 #87824E
analogous
#4E7087 #4E5387 #664E87
triadic
#4E5387 #874E53 #53874E
tetradic
#4E5387 #874E70 #87824E #4E8766
square
#4E5387 #874E70 #87824E #4E8766
split-complementary
#4E5387 #87664E #70874E
monochromatic
#212339 #383B60 #4E5387 #6A6FA9 #9094BF

Accessibility & contrast

On white

7.21
#4E5387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4E5387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5387
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5387#FFFFFF#000000##FFFFFF
##4E53871.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415989
Deuteranopia (green-blind)
#3D5586
Tritanopia (blue-blind)
#3C5D66
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e5387;
/* rgb */ color: rgb(78, 83, 135);
/* oklch */ color: oklch(46.2% 0.084 278.4);
Tailwind
colors: {
  custom: {
    50: '#8283aa',
    500: '#4e5387',
    950: '#000000',
  },
}
SCSS
$custom: #4e5387;
$custom-light: #8283aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5387",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 135
  },
  "hsl": {
    "h": 234.737,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46173,
    "c": 0.08441,
    "h": 278.4
  },
  "luminance": 0.09555
}

Semantic roles & 50–950 ramp

primary
#4E5387
secondary
#ACA885
accent
#BB65C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E5387

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

Preview Lab → · Contrast checker → · Palette generator →

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