#4E5878#4E5878

#4E5878 is a mid, muted blue. Relative luminance 0.100; OKLCH L 46.5% C 0.054 H 270.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#4E5878
RGBrgb(78, 88, 120)
HSLhsl(226, 21%, 39%)
HSVhsv(226, 35%, 47%)
CMYKcmyk(35%, 26.7%, 0%, 52.9%)
CIE-LABlab(37.76, 4.48, -19.38)
CIE-LCHlch(37.76, 19.89, 283.01°)
OKLaboklab(46.5% 0.0008 -0.0537)
OKLCHoklch(46.5% 0.054 270.8)
XYZxyz(10.0208, 9.9548, 19.1591)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5878 #786E4E
analogous
#4E6D78 #4E5878 #594E78
triadic
#4E5878 #784E58 #58784E
tetradic
#4E5878 #784E6D #786E4E #4E7859
square
#4E5878 #784E6D #786E4E #4E7859
split-complementary
#4E5878 #78594E #6D784E
monochromatic
#1E222E #363D53 #4E5878 #67749C #8C96B4

Accessibility & contrast

On white

7.02
#4E5878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E5878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5878
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5878#FFFFFF#000000##FFFFFF
##4E58781.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e5878;
/* rgb */ color: rgb(78, 88, 120);
/* oklch */ color: oklch(46.5% 0.054 270.8);
Tailwind
colors: {
  custom: {
    50: '#81879f',
    500: '#4e5878',
    950: '#000000',
  },
}
SCSS
$custom: #4e5878;
$custom-light: #81879f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5878",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 120
  },
  "hsl": {
    "h": 225.714,
    "s": 21.212,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46502,
    "c": 0.05372,
    "h": 270.8
  },
  "luminance": 0.09955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5878

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

Preview Lab → · Contrast checker → · Palette generator →

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