#4E4E99#4E4E99

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

Color values

HEX#4E4E99
RGBrgb(78, 78, 153)
HSLhsl(240, 32%, 45%)
HSVhsv(240, 49%, 60%)
CMYKcmyk(49%, 49%, 0%, 40%)
CIE-LABlab(36.68, 21.03, -41.20)
CIE-LCHlch(36.68, 46.26, 297.05°)
OKLaboklab(46.24% 0.0221 -0.1171)
OKLCHoklch(46.24% 0.119 280.7)
XYZxyz(11.6143, 9.3678, 31.3270)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E99 #99994E
analogous
#4E7399 #4E4E99 #734E99
triadic
#4E4E99 #994E4E #4E994E
tetradic
#4E4E99 #994E73 #99994E #4E9973
square
#4E4E99 #994E73 #99994E #4E9973
split-complementary
#4E4E99 #99734E #73994E
monochromatic
#252548 #393970 #4E4E99 #6F6FB5 #9797CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E4E99#FFFFFF#000000##FFFFFF
##4E4E991.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)
#2D599C
Deuteranopia (green-blind)
#285497
Tritanopia (blue-blind)
#335E6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e4e99;
/* rgb */ color: rgb(78, 78, 153);
/* oklch */ color: oklch(46.2% 0.119 280.7);
Tailwind
colors: {
  custom: {
    50: '#847fb7',
    500: '#4e4e99',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e99;
$custom-light: #847fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e99",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 240,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46241,
    "c": 0.11918,
    "h": 280.7
  },
  "luminance": 0.09368
}

Semantic roles & 50–950 ramp

primary
#4E4E99
secondary
#B7B78C
accent
#C95FC9
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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