#4E5587#4E5587

#4E5587 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.6% C 0.081 H 276.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4E5587
RGBrgb(78, 85, 135)
HSLhsl(233, 27%, 42%)
HSVhsv(233, 42%, 53%)
CMYKcmyk(42.2%, 37%, 0%, 47.1%)
CIE-LABlab(37.60, 10.86, -28.82)
CIE-LCHlch(37.60, 30.80, 290.64°)
OKLaboklab(46.61% 0.0095 -0.0809)
OKLCHoklch(46.61% 0.081 276.7)
XYZxyz(10.7623, 9.8655, 24.2541)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5587 #87804E
analogous
#4E7287 #4E5587 #644E87
triadic
#4E5587 #874E55 #55874E
tetradic
#4E5587 #874E72 #87804E #4E8764
square
#4E5587 #874E72 #87804E #4E8764
split-complementary
#4E5587 #87644E #72874E
monochromatic
#212439 #383D60 #4E5587 #6A71A9 #9096BF

Accessibility & contrast

On white

7.06
#4E5587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4E5587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5587
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5587#FFFFFF#000000##FFFFFF
##4E55871.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B89
Deuteranopia (green-blind)
#405686
Tritanopia (blue-blind)
#3C5F67
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e5587;
/* rgb */ color: rgb(78, 85, 135);
/* oklch */ color: oklch(46.6% 0.081 276.7);
Tailwind
colors: {
  custom: {
    50: '#8284aa',
    500: '#4e5587',
    950: '#000000',
  },
}
SCSS
$custom: #4e5587;
$custom-light: #8284aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5587",
  "rgb": {
    "r": 78,
    "g": 85,
    "b": 135
  },
  "hsl": {
    "h": 232.632,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4661,
    "c": 0.08146,
    "h": 276.7
  },
  "luminance": 0.09866
}

Semantic roles & 50–950 ramp

primary
#4E5587
secondary
#ACA785
accent
#B865C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5587

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

Preview Lab → · Contrast checker → · Palette generator →

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