#4E5380#4E5380

#4E5380 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.8% C 0.073 H 278.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#4E5380
RGBrgb(78, 83, 128)
HSLhsl(234, 24%, 40%)
HSVhsv(234, 39%, 50%)
CMYKcmyk(39.1%, 35.2%, 0%, 49.8%)
CIE-LABlab(36.68, 10.01, -25.99)
CIE-LCHlch(36.68, 27.85, 291.07°)
OKLaboklab(45.78% 0.0105 -0.0727)
OKLCHoklch(45.78% 0.073 278.2)
XYZxyz(10.1303, 9.3643, 21.6916)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5380 #807B4E
analogous
#4E6C80 #4E5380 #624E80
triadic
#4E5380 #804E53 #53804E
tetradic
#4E5380 #804E6C #807B4E #4E8062
square
#4E5380 #804E6C #807B4E #4E8062
split-complementary
#4E5380 #80624E #6C804E
monochromatic
#202234 #373A5A #4E5380 #686EA3 #8E93BA

Accessibility & contrast

On white

7.31
#4E5380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4E5380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5380
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5380#FFFFFF#000000##FFFFFF
##4E53801.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445882
Deuteranopia (green-blind)
#41547F
Tritanopia (blue-blind)
#3F5C63
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e5380;
/* rgb */ color: rgb(78, 83, 128);
/* oklch */ color: oklch(45.8% 0.073 278.2);
Tailwind
colors: {
  custom: {
    50: '#8183a5',
    500: '#4e5380',
    950: '#000000',
  },
}
SCSS
$custom: #4e5380;
$custom-light: #8183a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5380",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 128
  },
  "hsl": {
    "h": 234,
    "s": 24.272,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45784,
    "c": 0.07345,
    "h": 278.2
  },
  "luminance": 0.09365
}

Semantic roles & 50–950 ramp

primary
#4E5380
secondary
#A7A383
accent
#B867C1
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E5380

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

Preview Lab → · Contrast checker → · Palette generator →

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