#4E5987#4E5987

#4E5987 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.5% C 0.076 H 273.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4E5987
RGBrgb(78, 89, 135)
HSLhsl(228, 27%, 42%)
HSVhsv(228, 42%, 53%)
CMYKcmyk(42.2%, 34.1%, 0%, 47.1%)
CIE-LABlab(38.75, 8.31, -27.02)
CIE-LCHlch(38.75, 28.27, 287.10°)
OKLaboklab(47.5% 0.0039 -0.0757)
OKLCHoklch(47.5% 0.076 273)
XYZxyz(11.0861, 10.5132, 24.3621)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5987 #877C4E
analogous
#4E7687 #4E5987 #604E87
triadic
#4E5987 #874E59 #59874E
tetradic
#4E5987 #874E76 #877C4E #4E8760
square
#4E5987 #874E76 #877C4E #4E8760
split-complementary
#4E5987 #87604E #76874E
monochromatic
#212639 #383F60 #4E5987 #6A76A9 #9099BF

Accessibility & contrast

On white

6.77
#4E5987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4E5987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5987
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5987#FFFFFF#000000##FFFFFF
##4E59871.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495E89
Deuteranopia (green-blind)
#455986
Tritanopia (blue-blind)
#3C626A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e5987;
/* rgb */ color: rgb(78, 89, 135);
/* oklch */ color: oklch(47.5% 0.076 273.0);
Tailwind
colors: {
  custom: {
    50: '#8287aa',
    500: '#4e5987',
    950: '#000000',
  },
}
SCSS
$custom: #4e5987;
$custom-light: #8287aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5987",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 228.421,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47496,
    "c": 0.07579,
    "h": 273
  },
  "luminance": 0.10514
}

Semantic roles & 50–950 ramp

primary
#4E5987
secondary
#ACA485
accent
#B165C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5987

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

Preview Lab → · Contrast checker → · Palette generator →

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