#4E4D9D#4E4D9D

#4E4D9D is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.127 H 280.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#4E4D9D
RGBrgb(78, 77, 157)
HSLhsl(241, 34%, 46%)
HSVhsv(241, 51%, 62%)
CMYKcmyk(50.3%, 51%, 0%, 38.4%)
CIE-LABlab(36.67, 22.96, -43.63)
CIE-LCHlch(36.67, 49.30, 297.76°)
OKLaboklab(46.31% 0.0237 -0.1243)
OKLCHoklch(46.31% 0.127 280.8)
XYZxyz(11.8797, 9.3611, 33.0727)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D9D #9C9D4D
analogous
#4D749D #4E4D9D #764D9D
triadic
#4E4D9D #9D4E4D #4D9D4E
tetradic
#4E4D9D #9D4D74 #9C9D4D #4D9D76
square
#4E4D9D #9D4D74 #9C9D4D #4D9D76
split-complementary
#4E4D9D #9D764D #749D4D
monochromatic
#25254B #3A3974 #4E4D9D #706FB8 #9998CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E4D9D#FFFFFF#000000##FFFFFF
##4E4D9D1.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)
#2759A0
Deuteranopia (green-blind)
#21539B
Tritanopia (blue-blind)
#305E6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e4d9d;
/* rgb */ color: rgb(78, 77, 157);
/* oklch */ color: oklch(46.3% 0.127 280.8);
Tailwind
colors: {
  custom: {
    50: '#857eba',
    500: '#4e4d9d',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d9d;
$custom-light: #857eba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d9d",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 240.75,
    "s": 34.188,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46313,
    "c": 0.12651,
    "h": 280.8
  },
  "luminance": 0.09362
}

Semantic roles & 50–950 ramp

primary
#4E4D9D
secondary
#B8B98D
accent
#CA5EC9
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4E4D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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