#4E4D7B#4E4D7B

#4E4D7B is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.075 H 283.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4E4D7B
RGBrgb(78, 77, 123)
HSLhsl(241, 23%, 39%)
HSVhsv(241, 37%, 48%)
CMYKcmyk(36.6%, 37.4%, 0%, 51.8%)
CIE-LABlab(34.72, 12.37, -25.97)
CIE-LCHlch(34.72, 28.77, 295.47°)
OKLaboklab(44.19% 0.018 -0.0727)
OKLCHoklch(44.19% 0.075 283.9)
XYZxyz(9.3699, 8.3572, 19.8545)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D7B #7A7B4D
analogous
#4D637B #4E4D7B #654D7B
triadic
#4E4D7B #7B4E4D #4D7B4E
tetradic
#4E4D7B #7B4D63 #7A7B4D #4D7B65
square
#4E4D7B #7B4D63 #7A7B4D #4D7B65
split-complementary
#4E4D7B #7B654D #637B4D
monochromatic
#1E1E30 #363555 #4E4D7B #67669F #8D8CB7

Accessibility & contrast

On white

7.86
#4E4D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4E4D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D7B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D7B#FFFFFF#000000##FFFFFF
##4E4D7B1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537D
Deuteranopia (green-blind)
#3D507A
Tritanopia (blue-blind)
#42565E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4d7b;
/* rgb */ color: rgb(78, 77, 123);
/* oklch */ color: oklch(44.2% 0.075 283.9);
Tailwind
colors: {
  custom: {
    50: '#817ea1',
    500: '#4e4d7b',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d7b;
$custom-light: #817ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d7b",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 123
  },
  "hsl": {
    "h": 241.304,
    "s": 23,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44194,
    "c": 0.07484,
    "h": 283.9
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#4E4D7B
secondary
#A3A380
accent
#BF68BE
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0A0A0F
muted
#7C7C7E

Preview Lab

Preview with #4E4D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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