#4E4D7E#4E4D7E

#4E4D7E is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.4% C 0.080 H 283.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4E4D7E
RGBrgb(78, 77, 126)
HSLhsl(241, 24%, 40%)
HSVhsv(241, 39%, 49%)
CMYKcmyk(38.1%, 38.9%, 0%, 50.6%)
CIE-LABlab(34.87, 13.27, -27.59)
CIE-LCHlch(34.87, 30.61, 295.68°)
OKLaboklab(44.36% 0.0187 -0.0773)
OKLCHoklch(44.36% 0.08 283.6)
XYZxyz(9.5606, 8.4335, 20.8587)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D7E #7D7E4D
analogous
#4D657E #4E4D7E #664D7E
triadic
#4E4D7E #7E4E4D #4D7E4E
tetradic
#4E4D7E #7E4D65 #7D7E4D #4D7E66
square
#4E4D7E #7E4D65 #7D7E4D #4D7E66
split-complementary
#4E4D7E #7E664D #657E4D
monochromatic
#1F1F32 #363658 #4E4D7E #6866A2 #8D8CB9

Accessibility & contrast

On white

7.82
#4E4D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4D7E
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D7E#FFFFFF#000000##FFFFFF
##4E4D7E1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5480
Deuteranopia (green-blind)
#3B507D
Tritanopia (blue-blind)
#41565F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4d7e;
/* rgb */ color: rgb(78, 77, 126);
/* oklch */ color: oklch(44.4% 0.080 283.6);
Tailwind
colors: {
  custom: {
    50: '#817ea3',
    500: '#4e4d7e',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d7e;
$custom-light: #817ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d7e",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 126
  },
  "hsl": {
    "h": 241.224,
    "s": 24.138,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44362,
    "c": 0.07957,
    "h": 283.6
  },
  "luminance": 0.08434
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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