#4E5880#4E5880

#4E5880 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 46.9% C 0.066 H 272.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4E5880
RGBrgb(78, 88, 128)
HSLhsl(228, 24%, 40%)
HSVhsv(228, 39%, 50%)
CMYKcmyk(39.1%, 31.3%, 0%, 49.8%)
CIE-LABlab(38.12, 6.83, -23.73)
CIE-LCHlch(38.12, 24.69, 286.05°)
OKLaboklab(46.9% 0.0033 -0.0662)
OKLCHoklch(46.9% 0.066 272.9)
XYZxyz(10.5267, 10.1572, 21.8238)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5880 #80764E
analogous
#4E7180 #4E5880 #5D4E80
triadic
#4E5880 #804E58 #58804E
tetradic
#4E5880 #804E71 #80764E #4E805D
square
#4E5880 #804E71 #80764E #4E805D
split-complementary
#4E5880 #805D4E #71804E
monochromatic
#202434 #373E5A #4E5880 #6874A3 #8E97BA

Accessibility & contrast

On white

6.93
#4E5880 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4E5880 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5880
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5880#FFFFFF#000000##FFFFFF
##4E58801.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5C82
Deuteranopia (green-blind)
#47587F
Tritanopia (blue-blind)
#3F6066
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e5880;
/* rgb */ color: rgb(78, 88, 128);
/* oklch */ color: oklch(46.9% 0.066 272.9);
Tailwind
colors: {
  custom: {
    50: '#8187a5',
    500: '#4e5880',
    950: '#000000',
  },
}
SCSS
$custom: #4e5880;
$custom-light: #8187a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5880",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 128
  },
  "hsl": {
    "h": 228,
    "s": 24.272,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46902,
    "c": 0.06626,
    "h": 272.9
  },
  "luminance": 0.10158
}

Semantic roles & 50–950 ramp

primary
#4E5880
secondary
#A7A083
accent
#AF67C1
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4E5880

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

Preview Lab → · Contrast checker → · Palette generator →

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