#4E5879#4E5879

#4E5879 is a mid, muted blue. Relative luminance 0.100; OKLCH L 46.6% C 0.055 H 271.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4E5879
RGBrgb(78, 88, 121)
HSLhsl(226, 22%, 39%)
HSVhsv(226, 36%, 47%)
CMYKcmyk(35.5%, 27.3%, 0%, 52.5%)
CIE-LABlab(37.81, 4.77, -19.93)
CIE-LCHlch(37.81, 20.49, 283.45°)
OKLaboklab(46.55% 0.0011 -0.0553)
OKLCHoklch(46.55% 0.055 271.1)
XYZxyz(10.0818, 9.9792, 19.4804)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5879 #796F4E
analogous
#4E6E79 #4E5879 #5A4E79
triadic
#4E5879 #794E58 #58794E
tetradic
#4E5879 #794E6E #796F4E #4E795A
square
#4E5879 #794E6E #796F4E #4E795A
split-complementary
#4E5879 #795A4E #6E794E
monochromatic
#1E222F #363D54 #4E5879 #67749D #8C96B5

Accessibility & contrast

On white

7.01
#4E5879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4E5879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5879
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5879#FFFFFF#000000##FFFFFF
##4E58791.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7A
Deuteranopia (green-blind)
#4A5778
Tritanopia (blue-blind)
#425E63
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5879;
/* rgb */ color: rgb(78, 88, 121);
/* oklch */ color: oklch(46.6% 0.055 271.1);
Tailwind
colors: {
  custom: {
    50: '#81879f',
    500: '#4e5879',
    950: '#000000',
  },
}
SCSS
$custom: #4e5879;
$custom-light: #81879f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5879",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 121
  },
  "hsl": {
    "h": 226.047,
    "s": 21.608,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4655,
    "c": 0.05528,
    "h": 271.1
  },
  "luminance": 0.0998
}

Semantic roles & 50–950 ramp

primary
#4E5879
secondary
#A29A81
accent
#AA6ABE
background
#F7F8F9
surface
#EEEFF2
border
#C9CACC
text
#0A0B0E
muted
#7C7C7E

Preview Lab

Preview with #4E5879

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

Preview Lab → · Contrast checker → · Palette generator →

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