#4E5887#4E5887

#4E5887 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.3% C 0.077 H 273.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#4E5887
RGBrgb(78, 88, 135)
HSLhsl(229, 27%, 42%)
HSVhsv(229, 42%, 53%)
CMYKcmyk(42.2%, 34.8%, 0%, 47.1%)
CIE-LABlab(38.46, 8.95, -27.48)
CIE-LCHlch(38.46, 28.90, 288.04°)
OKLaboklab(47.27% 0.0053 -0.077)
OKLCHoklch(47.27% 0.077 273.9)
XYZxyz(11.0035, 10.3479, 24.3345)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5887 #877D4E
analogous
#4E7587 #4E5887 #614E87
triadic
#4E5887 #874E58 #58874E
tetradic
#4E5887 #874E75 #877D4E #4E8761
square
#4E5887 #874E75 #877D4E #4E8761
split-complementary
#4E5887 #87614E #75874E
monochromatic
#212539 #383F60 #4E5887 #6A75A9 #9099BF

Accessibility & contrast

On white

6.84
#4E5887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4E5887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5887
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5887#FFFFFF#000000##FFFFFF
##4E58871.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485D89
Deuteranopia (green-blind)
#435886
Tritanopia (blue-blind)
#3C6169
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e5887;
/* rgb */ color: rgb(78, 88, 135);
/* oklch */ color: oklch(47.3% 0.077 273.9);
Tailwind
colors: {
  custom: {
    50: '#8287aa',
    500: '#4e5887',
    950: '#000000',
  },
}
SCSS
$custom: #4e5887;
$custom-light: #8287aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5887",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 135
  },
  "hsl": {
    "h": 229.474,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47273,
    "c": 0.07718,
    "h": 273.9
  },
  "luminance": 0.10348
}

Semantic roles & 50–950 ramp

primary
#4E5887
secondary
#ACA585
accent
#B365C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5887

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

Preview Lab → · Contrast checker → · Palette generator →

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