#4E5087#4E5087

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

Color values

HEX#4E5087
RGBrgb(78, 80, 135)
HSLhsl(238, 27%, 42%)
HSVhsv(238, 42%, 53%)
CMYKcmyk(42.2%, 40.7%, 0%, 47.1%)
CIE-LABlab(36.19, 14.07, -31.05)
CIE-LCHlch(36.19, 34.09, 294.38°)
OKLaboklab(45.53% 0.0165 -0.0874)
OKLCHoklch(45.53% 0.089 280.7)
XYZxyz(10.3824, 9.1059, 24.1275)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5087 #87854E
analogous
#4E6D87 #4E5087 #694E87
triadic
#4E5087 #874E50 #50874E
tetradic
#4E5087 #874E6D #87854E #4E8769
square
#4E5087 #874E6D #87854E #4E8769
split-complementary
#4E5087 #87694E #6D874E
monochromatic
#212239 #383960 #4E5087 #6A6CA9 #9092BF

Accessibility & contrast

On white

7.44
#4E5087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5087
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5087#FFFFFF#000000##FFFFFF
##4E50871.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5789
Deuteranopia (green-blind)
#3A5386
Tritanopia (blue-blind)
#3D5B65
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e5087;
/* rgb */ color: rgb(78, 80, 135);
/* oklch */ color: oklch(45.5% 0.089 280.7);
Tailwind
colors: {
  custom: {
    50: '#8281aa',
    500: '#4e5087',
    950: '#000000',
  },
}
SCSS
$custom: #4e5087;
$custom-light: #8281aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5087",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 135
  },
  "hsl": {
    "h": 237.895,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45526,
    "c": 0.08894,
    "h": 280.7
  },
  "luminance": 0.09106
}

Semantic roles & 50–950 ramp

primary
#4E5087
secondary
#ACAA85
accent
#C065C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E5087

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

Preview Lab → · Contrast checker → · Palette generator →

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