#4E4D74#4E4D74

#4E4D74 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.064 H 284.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#4E4D74
RGBrgb(78, 77, 116)
HSLhsl(242, 20%, 38%)
HSVhsv(242, 34%, 45%)
CMYKcmyk(32.8%, 33.6%, 0%, 54.5%)
CIE-LABlab(34.37, 10.33, -22.16)
CIE-LCHlch(34.37, 24.45, 295.00°)
OKLaboklab(43.82% 0.0161 -0.0616)
OKLCHoklch(43.82% 0.064 284.6)
XYZxyz(8.9473, 8.1882, 17.6287)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D74 #73744D
analogous
#4D5F74 #4E4D74 #614D74
triadic
#4E4D74 #744E4D #4D744E
tetradic
#4E4D74 #744D5F #73744D #4D7461
square
#4E4D74 #744D5F #73744D #4D7461
split-complementary
#4E4D74 #74614D #5F744D
monochromatic
#1D1C2A #35354F #4E4D74 #676599 #8B8AB1

Accessibility & contrast

On white

7.96
#4E4D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4E4D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D74
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D74#FFFFFF#000000##FFFFFF
##4E4D741.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425276
Deuteranopia (green-blind)
#405073
Tritanopia (blue-blind)
#45545B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e4d74;
/* rgb */ color: rgb(78, 77, 116);
/* oklch */ color: oklch(43.8% 0.064 284.6);
Tailwind
colors: {
  custom: {
    50: '#817e9c',
    500: '#4e4d74',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d74;
$custom-light: #817e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d74",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 116
  },
  "hsl": {
    "h": 241.538,
    "s": 20.207,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43816,
    "c": 0.06371,
    "h": 284.6
  },
  "luminance": 0.08188
}

Semantic roles & 50–950 ramp

primary
#4E4D74
secondary
#9E9E7E
accent
#BD6BBB
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #4E4D74

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

Preview Lab → · Contrast checker → · Palette generator →

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