#4E5871#4E5871

#4E5871 is a mid, muted blue. Relative luminance 0.098; OKLCH L 46.2% C 0.043 H 267.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4E5871
RGBrgb(78, 88, 113)
HSLhsl(223, 18%, 37%)
HSVhsv(223, 31%, 44%)
CMYKcmyk(31%, 22.1%, 0%, 55.7%)
CIE-LABlab(37.46, 2.49, -15.52)
CIE-LCHlch(37.46, 15.72, 279.12°)
OKLaboklab(46.17% -0.0017 -0.0427)
OKLCHoklch(46.17% 0.043 267.7)
XYZxyz(9.6114, 9.7911, 17.0030)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5871 #71674E
analogous
#4E6A71 #4E5871 #554E71
triadic
#4E5871 #714E58 #58714E
tetradic
#4E5871 #714E6A #71674E #4E7155
square
#4E5871 #714E6A #71674E #4E7155
split-complementary
#4E5871 #71554E #6A714E
monochromatic
#1C2029 #353C4D #4E5871 #677495 #8B95AF

Accessibility & contrast

On white

7.10
#4E5871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4E5871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5871
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5871#FFFFFF#000000##FFFFFF
##4E58711.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A72
Deuteranopia (green-blind)
#4D5770
Tritanopia (blue-blind)
#445D60
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e5871;
/* rgb */ color: rgb(78, 88, 113);
/* oklch */ color: oklch(46.2% 0.043 267.7);
Tailwind
colors: {
  custom: {
    50: '#80879a',
    500: '#4e5871',
    950: '#000000',
  },
}
SCSS
$custom: #4e5871;
$custom-light: #80879a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5871",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 222.857,
    "s": 18.325,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46172,
    "c": 0.04277,
    "h": 267.7
  },
  "luminance": 0.09791
}

Semantic roles & 50–950 ramp

primary
#4E5871
secondary
#9C947F
accent
#A56DBB
background
#F7F8F9
surface
#EEEFF2
border
#C9CACC
text
#0A0B0E
muted
#7C7C7E

Preview Lab

Preview with #4E5871

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

Preview Lab → · Contrast checker → · Palette generator →

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