#4E4D7A#4E4D7A

#4E4D7A is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.1% C 0.073 H 284.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#4E4D7A
RGBrgb(78, 77, 122)
HSLhsl(241, 23%, 39%)
HSVhsv(241, 37%, 48%)
CMYKcmyk(36.1%, 36.9%, 0%, 52.2%)
CIE-LABlab(34.67, 12.08, -25.43)
CIE-LCHlch(34.67, 28.15, 295.41°)
OKLaboklab(44.14% 0.0177 -0.0711)
OKLCHoklch(44.14% 0.073 284)
XYZxyz(9.3077, 8.3323, 19.5265)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D7A #797A4D
analogous
#4D637A #4E4D7A #654D7A
triadic
#4E4D7A #7A4E4D #4D7A4E
tetradic
#4E4D7A #7A4D63 #797A4D #4D7A65
square
#4E4D7A #7A4D63 #797A4D #4D7A65
split-complementary
#4E4D7A #7A654D #637A4D
monochromatic
#1E1E2F #363554 #4E4D7A #67669E #8C8BB6

Accessibility & contrast

On white

7.88
#4E4D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4D7A
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D7A#FFFFFF#000000##FFFFFF
##4E4D7A1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537C
Deuteranopia (green-blind)
#3E5079
Tritanopia (blue-blind)
#42555E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4d7a;
/* rgb */ color: rgb(78, 77, 122);
/* oklch */ color: oklch(44.1% 0.073 284.0);
Tailwind
colors: {
  custom: {
    50: '#817ea0',
    500: '#4e4d7a',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d7a;
$custom-light: #817ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d7a",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 122
  },
  "hsl": {
    "h": 241.333,
    "s": 22.613,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44139,
    "c": 0.07326,
    "h": 284
  },
  "luminance": 0.08333
}

Semantic roles & 50–950 ramp

primary
#4E4D7A
secondary
#A2A380
accent
#BF69BD
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0A0A0F
muted
#7C7C7E

Preview Lab

Preview with #4E4D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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