#4E4D99#4E4D99

#4E4D99 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.121 H 281.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#4E4D99
RGBrgb(78, 77, 153)
HSLhsl(241, 33%, 45%)
HSVhsv(241, 50%, 60%)
CMYKcmyk(49%, 49.7%, 0%, 40%)
CIE-LABlab(36.42, 21.68, -41.63)
CIE-LCHlch(36.42, 46.93, 297.51°)
OKLaboklab(46.04% 0.0233 -0.1184)
OKLCHoklch(46.04% 0.121 281.2)
XYZxyz(11.5438, 9.2268, 31.3035)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D99 #98994D
analogous
#4D7299 #4E4D99 #744D99
triadic
#4E4D99 #994E4D #4D994E
tetradic
#4E4D99 #994D72 #98994D #4D9974
square
#4E4D99 #994D72 #98994D #4D9974
split-complementary
#4E4D99 #99744D #72994D
monochromatic
#242448 #393970 #4E4D99 #6E6DB6 #9796CA

Accessibility & contrast

On white

7.38
#4E4D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4E4D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D99
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D99#FFFFFF#000000##FFFFFF
##4E4D991.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589C
Deuteranopia (green-blind)
#265397
Tritanopia (blue-blind)
#335D6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e4d99;
/* rgb */ color: rgb(78, 77, 153);
/* oklch */ color: oklch(46.0% 0.121 281.2);
Tailwind
colors: {
  custom: {
    50: '#857eb7',
    500: '#4e4d99',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d99;
$custom-light: #857eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d99",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 240.789,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46041,
    "c": 0.12065,
    "h": 281.2
  },
  "luminance": 0.09227
}

Semantic roles & 50–950 ramp

primary
#4E4D99
secondary
#B6B78B
accent
#C95FC8
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E4D99

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

Preview Lab → · Contrast checker → · Palette generator →

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