#4E5086#4E5086

#4E5086 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.5% C 0.087 H 280.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#4E5086
RGBrgb(78, 80, 134)
HSLhsl(238, 26%, 42%)
HSVhsv(238, 42%, 53%)
CMYKcmyk(41.8%, 40.3%, 0%, 47.5%)
CIE-LABlab(36.13, 13.76, -30.52)
CIE-LCHlch(36.13, 33.48, 294.27°)
OKLaboklab(45.47% 0.0162 -0.0859)
OKLCHoklch(45.47% 0.087 280.7)
XYZxyz(10.3124, 9.0778, 23.7585)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5086 #86844E
analogous
#4E6C86 #4E5086 #684E86
triadic
#4E5086 #864E50 #50864E
tetradic
#4E5086 #864E6C #86844E #4E8668
square
#4E5086 #864E6C #86844E #4E8668
split-complementary
#4E5086 #86684E #6C864E
monochromatic
#212239 #37395F #4E5086 #696CA8 #9092BE

Accessibility & contrast

On white

7.46
#4E5086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4E5086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5086
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5086#FFFFFF#000000##FFFFFF
##4E50861.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5788
Deuteranopia (green-blind)
#3A5385
Tritanopia (blue-blind)
#3D5B64
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e5086;
/* rgb */ color: rgb(78, 80, 134);
/* oklch */ color: oklch(45.5% 0.087 280.7);
Tailwind
colors: {
  custom: {
    50: '#8281a9',
    500: '#4e5086',
    950: '#000000',
  },
}
SCSS
$custom: #4e5086;
$custom-light: #8281a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5086",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 134
  },
  "hsl": {
    "h": 237.857,
    "s": 26.415,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45468,
    "c": 0.08738,
    "h": 280.7
  },
  "luminance": 0.09078
}

Semantic roles & 50–950 ramp

primary
#4E5086
secondary
#ABAA85
accent
#BF65C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E5086

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

Preview Lab → · Contrast checker → · Palette generator →

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