#4E4D9B#4E4D9B

#4E4D9B is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.124 H 281.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#4E4D9B
RGBrgb(78, 77, 155)
HSLhsl(241, 34%, 45%)
HSVhsv(241, 50%, 61%)
CMYKcmyk(49.7%, 50.3%, 0%, 39.2%)
CIE-LABlab(36.54, 22.32, -42.63)
CIE-LCHlch(36.54, 48.12, 297.63°)
OKLaboklab(46.18% 0.0236 -0.1213)
OKLCHoklch(46.18% 0.124 281)
XYZxyz(11.7104, 9.2934, 32.1807)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D9B #9A9B4D
analogous
#4D739B #4E4D9B #754D9B
triadic
#4E4D9B #9B4E4D #4D9B4E
tetradic
#4E4D9B #9B4D73 #9A9B4D #4D9B75
square
#4E4D9B #9B4D73 #9A9B4D #4D9B75
split-complementary
#4E4D9B #9B754D #739B4D
monochromatic
#252449 #393972 #4E4D9B #6F6EB7 #9897CB

Accessibility & contrast

On white

7.35
#4E4D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4E4D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D9B
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D9B#FFFFFF#000000##FFFFFF
##4E4D9B1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599E
Deuteranopia (green-blind)
#235399
Tritanopia (blue-blind)
#325E6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e4d9b;
/* rgb */ color: rgb(78, 77, 155);
/* oklch */ color: oklch(46.2% 0.124 281.0);
Tailwind
colors: {
  custom: {
    50: '#857eb9',
    500: '#4e4d9b',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d9b;
$custom-light: #857eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d9b",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 155
  },
  "hsl": {
    "h": 240.769,
    "s": 33.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46176,
    "c": 0.12358,
    "h": 281
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

primary
#4E4D9B
secondary
#B7B88C
accent
#CA5EC8
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E4D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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