#4E4D7C#4E4D7C

#4E4D7C is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.3% C 0.076 H 283.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4E4D7C
RGBrgb(78, 77, 124)
HSLhsl(241, 23%, 39%)
HSVhsv(241, 38%, 49%)
CMYKcmyk(37.1%, 37.9%, 0%, 51.4%)
CIE-LABlab(34.77, 12.67, -26.51)
CIE-LCHlch(34.77, 29.38, 295.54°)
OKLaboklab(44.25% 0.0182 -0.0742)
OKLCHoklch(44.25% 0.076 283.8)
XYZxyz(9.4328, 8.3824, 20.1858)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D7C #7B7C4D
analogous
#4D647C #4E4D7C #664D7C
triadic
#4E4D7C #7C4E4D #4D7C4E
tetradic
#4E4D7C #7C4D64 #7B7C4D #4D7C66
square
#4E4D7C #7C4D64 #7B7C4D #4D7C66
split-complementary
#4E4D7C #7C664D #647C4D
monochromatic
#1F1E30 #363656 #4E4D7C #6766A0 #8D8CB8

Accessibility & contrast

On white

7.85
#4E4D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4E4D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D7C
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D7C#FFFFFF#000000##FFFFFF
##4E4D7C1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4d7c;
/* rgb */ color: rgb(78, 77, 124);
/* oklch */ color: oklch(44.3% 0.076 283.8);
Tailwind
colors: {
  custom: {
    50: '#817ea2',
    500: '#4e4d7c',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d7c;
$custom-light: #817ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d7c",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 124
  },
  "hsl": {
    "h": 241.277,
    "s": 23.383,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4425,
    "c": 0.07642,
    "h": 283.8
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#4E4D7C
secondary
#A3A481
accent
#C068BE
background
#F8F7FA
surface
#EFEEF3
border
#CAC9CD
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E4D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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