#4E5080#4E5080

#4E5080 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.1% C 0.078 H 281.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#4E5080
RGBrgb(78, 80, 128)
HSLhsl(238, 24%, 40%)
HSVhsv(238, 39%, 50%)
CMYKcmyk(39.1%, 37.5%, 0%, 49.8%)
CIE-LABlab(35.82, 11.93, -27.33)
CIE-LCHlch(35.82, 29.82, 293.59°)
OKLaboklab(45.13% 0.0148 -0.0766)
OKLCHoklch(45.13% 0.078 281)
XYZxyz(9.9057, 8.9152, 21.6168)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5080 #807E4E
analogous
#4E6980 #4E5080 #654E80
triadic
#4E5080 #804E50 #50804E
tetradic
#4E5080 #804E69 #807E4E #4E8065
square
#4E5080 #804E69 #807E4E #4E8065
split-complementary
#4E5080 #80654E #69804E
monochromatic
#202034 #37385A #4E5080 #686AA3 #8E90BA

Accessibility & contrast

On white

7.55
#4E5080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4E5080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5080
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5080#FFFFFF#000000##FFFFFF
##4E50801.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405682
Deuteranopia (green-blind)
#3E537F
Tritanopia (blue-blind)
#405962
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e5080;
/* rgb */ color: rgb(78, 80, 128);
/* oklch */ color: oklch(45.1% 0.078 281.0);
Tailwind
colors: {
  custom: {
    50: '#8281a5',
    500: '#4e5080',
    950: '#000000',
  },
}
SCSS
$custom: #4e5080;
$custom-light: #8281a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5080",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 128
  },
  "hsl": {
    "h": 237.6,
    "s": 24.272,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45125,
    "c": 0.078,
    "h": 281
  },
  "luminance": 0.08916
}

Semantic roles & 50–950 ramp

primary
#4E5080
secondary
#A7A583
accent
#BD67C1
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E5080

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

Preview Lab → · Contrast checker → · Palette generator →

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