#4E4F99#4E4F99

#4E4F99 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.4% C 0.118 H 280.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4E4F99
RGBrgb(78, 79, 153)
HSLhsl(239, 32%, 45%)
HSVhsv(239, 49%, 60%)
CMYKcmyk(49%, 48.4%, 0%, 40%)
CIE-LABlab(36.95, 20.39, -40.77)
CIE-LCHlch(36.95, 45.59, 296.57°)
OKLaboklab(46.44% 0.0208 -0.1158)
OKLCHoklch(46.44% 0.118 280.2)
XYZxyz(11.6859, 9.5110, 31.3509)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F99 #99984E
analogous
#4E7499 #4E4F99 #724E99
triadic
#4E4F99 #994E4F #4F994E
tetradic
#4E4F99 #994E74 #99984E #4E9972
square
#4E4F99 #994E74 #99984E #4E9972
split-complementary
#4E4F99 #99724E #74994E
monochromatic
#252548 #393A70 #4E4F99 #6F70B5 #9798CA

Accessibility & contrast

On white

7.24
#4E4F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4E4F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F99
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F99#FFFFFF#000000##FFFFFF
##4E4F991.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9C
Deuteranopia (green-blind)
#295497
Tritanopia (blue-blind)
#335F6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4f99;
/* rgb */ color: rgb(78, 79, 153);
/* oklch */ color: oklch(46.4% 0.118 280.2);
Tailwind
colors: {
  custom: {
    50: '#8480b7',
    500: '#4e4f99',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f99;
$custom-light: #8480b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f99",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 239.2,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.11771,
    "h": 280.2
  },
  "luminance": 0.09512
}

Semantic roles & 50–950 ramp

primary
#4E4F99
secondary
#B7B68C
accent
#C75FC9
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E4F99

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

Preview Lab → · Contrast checker → · Palette generator →

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