#4E5787#4E5787

#4E5787 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.1% C 0.079 H 274.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#4E5787
RGBrgb(78, 87, 135)
HSLhsl(231, 27%, 42%)
HSVhsv(231, 42%, 53%)
CMYKcmyk(42.2%, 35.6%, 0%, 47.1%)
CIE-LABlab(38.17, 9.58, -27.93)
CIE-LCHlch(38.17, 29.52, 288.94°)
OKLaboklab(47.05% 0.0067 -0.0783)
OKLCHoklch(47.05% 0.079 274.9)
XYZxyz(10.9219, 10.1849, 24.3074)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5787 #877E4E
analogous
#4E7487 #4E5787 #624E87
triadic
#4E5787 #874E57 #57874E
tetradic
#4E5787 #874E74 #877E4E #4E8762
square
#4E5787 #874E74 #877E4E #4E8762
split-complementary
#4E5787 #87624E #74874E
monochromatic
#212539 #383E60 #4E5787 #6A74A9 #9098BF

Accessibility & contrast

On white

6.91
#4E5787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4E5787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5787
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5787#FFFFFF#000000##FFFFFF
##4E57871.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C89
Deuteranopia (green-blind)
#425886
Tritanopia (blue-blind)
#3C6169
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e5787;
/* rgb */ color: rgb(78, 87, 135);
/* oklch */ color: oklch(47.1% 0.079 274.9);
Tailwind
colors: {
  custom: {
    50: '#8286aa',
    500: '#4e5787',
    950: '#000000',
  },
}
SCSS
$custom: #4e5787;
$custom-light: #8286aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5787",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 230.526,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47051,
    "c": 0.07859,
    "h": 274.9
  },
  "luminance": 0.10185
}

Semantic roles & 50–950 ramp

primary
#4E5787
secondary
#ACA685
accent
#B465C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5787

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

Preview Lab → · Contrast checker → · Palette generator →

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