#4E4D9F#4E4D9F

#4E4D9F is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.129 H 280.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4E4D9F
RGBrgb(78, 77, 159)
HSLhsl(241, 35%, 46%)
HSVhsv(241, 52%, 62%)
CMYKcmyk(50.9%, 51.6%, 0%, 37.6%)
CIE-LABlab(36.80, 23.61, -44.63)
CIE-LCHlch(36.80, 50.49, 297.88°)
OKLaboklab(46.45% 0.0239 -0.1272)
OKLCHoklch(46.45% 0.129 280.7)
XYZxyz(12.0519, 9.4300, 33.9793)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D9F #9E9F4D
analogous
#4D759F #4E4D9F #774D9F
triadic
#4E4D9F #9F4E4D #4D9F4E
tetradic
#4E4D9F #9F4D75 #9E9F4D #4D9F77
square
#4E4D9F #9F4D75 #9E9F4D #4D9F77
split-complementary
#4E4D9F #9F774D #759F4D
monochromatic
#26254D #3A3976 #4E4D9F #7170BA #9A99CE

Accessibility & contrast

On white

7.28
#4E4D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4E4D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D9F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D9F#FFFFFF#000000##FFFFFF
##4E4D9F1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255AA2
Deuteranopia (green-blind)
#1E549D
Tritanopia (blue-blind)
#2F5F6E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4d9f;
/* rgb */ color: rgb(78, 77, 159);
/* oklch */ color: oklch(46.5% 0.129 280.7);
Tailwind
colors: {
  custom: {
    50: '#857ebc',
    500: '#4e4d9f',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d9f;
$custom-light: #857ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d9f",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 240.732,
    "s": 34.746,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46451,
    "c": 0.12941,
    "h": 280.7
  },
  "luminance": 0.09431
}

Semantic roles & 50–950 ramp

primary
#4E4D9F
secondary
#BABA8E
accent
#CB5DC9
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E4D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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