#4E5386#4E5386

#4E5386 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.1% C 0.083 H 278.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#4E5386
RGBrgb(78, 83, 134)
HSLhsl(235, 26%, 42%)
HSVhsv(235, 42%, 53%)
CMYKcmyk(41.8%, 38.1%, 0%, 47.5%)
CIE-LABlab(36.98, 11.83, -29.19)
CIE-LCHlch(36.98, 31.50, 292.07°)
OKLaboklab(46.12% 0.012 -0.082)
OKLCHoklch(46.12% 0.083 278.4)
XYZxyz(10.5370, 9.5270, 23.8333)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5386 #86814E
analogous
#4E6F86 #4E5386 #654E86
triadic
#4E5386 #864E53 #53864E
tetradic
#4E5386 #864E6F #86814E #4E8665
square
#4E5386 #864E6F #86814E #4E8665
split-complementary
#4E5386 #86654E #6F864E
monochromatic
#212339 #373B5F #4E5386 #696FA8 #9094BE

Accessibility & contrast

On white

7.23
#4E5386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5386
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5386#FFFFFF#000000##FFFFFF
##4E53861.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425988
Deuteranopia (green-blind)
#3E5585
Tritanopia (blue-blind)
#3D5D66
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e5386;
/* rgb */ color: rgb(78, 83, 134);
/* oklch */ color: oklch(46.1% 0.083 278.4);
Tailwind
colors: {
  custom: {
    50: '#8283a9',
    500: '#4e5386',
    950: '#000000',
  },
}
SCSS
$custom: #4e5386;
$custom-light: #8283a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5386",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 134
  },
  "hsl": {
    "h": 234.643,
    "s": 26.415,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46116,
    "c": 0.08286,
    "h": 278.4
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#4E5386
secondary
#ABA885
accent
#BA65C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E5386

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

Preview Lab → · Contrast checker → · Palette generator →

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