#4E4D7F#4E4D7F

#4E4D7F is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.4% C 0.081 H 283.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4E4D7F
RGBrgb(78, 77, 127)
HSLhsl(241, 25%, 40%)
HSVhsv(241, 39%, 50%)
CMYKcmyk(38.6%, 39.4%, 0%, 50.2%)
CIE-LABlab(34.92, 13.57, -28.12)
CIE-LCHlch(34.92, 31.22, 295.75°)
OKLaboklab(44.42% 0.0189 -0.0789)
OKLCHoklch(44.42% 0.081 283.5)
XYZxyz(9.6255, 8.4594, 21.2002)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D7F #7E7F4D
analogous
#4D657F #4E4D7F #674D7F
triadic
#4E4D7F #7F4E4D #4D7F4E
tetradic
#4E4D7F #7F4D65 #7E7F4D #4D7F67
square
#4E4D7F #7F4D65 #7E7F4D #4D7F67
split-complementary
#4E4D7F #7F674D #657F4D
monochromatic
#1F1F33 #373659 #4E4D7F #6867A3 #8E8DBA

Accessibility & contrast

On white

7.80
#4E4D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4E4D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D7F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D7F#FFFFFF#000000##FFFFFF
##4E4D7F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5481
Deuteranopia (green-blind)
#3B517E
Tritanopia (blue-blind)
#405760
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4d7f;
/* rgb */ color: rgb(78, 77, 127);
/* oklch */ color: oklch(44.4% 0.081 283.5);
Tailwind
colors: {
  custom: {
    50: '#827ea4',
    500: '#4e4d7f',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d7f;
$custom-light: #827ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d7f",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 127
  },
  "hsl": {
    "h": 241.2,
    "s": 24.51,
    "l": 40
  },
  "oklch": {
    "l": 0.44419,
    "c": 0.08113,
    "h": 283.5
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#4E4D7F
secondary
#A6A682
accent
#C167BF
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E4D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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