#4E4979#4E4979

#4E4979 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.2% C 0.078 H 287.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4E4979
RGBrgb(78, 73, 121)
HSLhsl(246, 25%, 38%)
HSVhsv(246, 40%, 47%)
CMYKcmyk(35.5%, 39.7%, 0%, 52.5%)
CIE-LABlab(33.49, 14.37, -26.65)
CIE-LCHlch(33.49, 30.28, 298.33°)
OKLaboklab(43.22% 0.0234 -0.0746)
OKLCHoklch(43.22% 0.078 287.4)
XYZxyz(8.9747, 7.7650, 19.1114)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4979 #747949
analogous
#495C79 #4E4979 #664979
triadic
#4E4979 #794E49 #49794E
tetradic
#4E4979 #79495C #747949 #497966
square
#4E4979 #79495C #747949 #497966
split-complementary
#4E4979 #796649 #5C7949
monochromatic
#1D1B2D #353253 #4E4979 #67609F #8B86B6

Accessibility & contrast

On white

8.23
#4E4979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E4979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4979
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4979#FFFFFF#000000##FFFFFF
##4E49791.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507B
Deuteranopia (green-blind)
#3A4E78
Tritanopia (blue-blind)
#43525B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4979;
/* rgb */ color: rgb(78, 73, 121);
/* oklch */ color: oklch(43.2% 0.078 287.4);
Tailwind
colors: {
  custom: {
    50: '#817ba0',
    500: '#4e4979',
    950: '#000000',
  },
}
SCSS
$custom: #4e4979;
$custom-light: #817ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4979",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 121
  },
  "hsl": {
    "h": 246.25,
    "s": 24.742,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43221,
    "c": 0.07823,
    "h": 287.4
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

primary
#4E4979
secondary
#9EA27B
accent
#C167B8
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4979

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

Preview Lab → · Contrast checker → · Palette generator →

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