#4E4A79#4E4A79

#4E4A79 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.4% C 0.077 H 286.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4E4A79
RGBrgb(78, 74, 121)
HSLhsl(245, 24%, 38%)
HSVhsv(245, 39%, 47%)
CMYKcmyk(35.5%, 38.8%, 0%, 52.5%)
CIE-LABlab(33.77, 13.72, -26.22)
CIE-LCHlch(33.77, 29.59, 297.63°)
OKLaboklab(43.44% 0.0219 -0.0734)
OKLCHoklch(43.44% 0.077 286.6)
XYZxyz(9.0409, 7.8975, 19.1335)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A79 #75794A
analogous
#4A5D79 #4E4A79 #654A79
triadic
#4E4A79 #794E4A #4A794E
tetradic
#4E4A79 #794A5D #75794A #4A7965
square
#4E4A79 #794A5D #75794A #4A7965
split-complementary
#4E4A79 #79654A #5D794A
monochromatic
#1D1C2D #363353 #4E4A79 #67629F #8B87B6

Accessibility & contrast

On white

8.14
#4E4A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4E4A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A79
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A79#FFFFFF#000000##FFFFFF
##4E4A791.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517B
Deuteranopia (green-blind)
#3B4E78
Tritanopia (blue-blind)
#43535B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4a79;
/* rgb */ color: rgb(78, 74, 121);
/* oklch */ color: oklch(43.4% 0.077 286.6);
Tailwind
colors: {
  custom: {
    50: '#817ca0',
    500: '#4e4a79',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a79;
$custom-light: #817ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a79",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 121
  },
  "hsl": {
    "h": 245.106,
    "s": 24.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43435,
    "c": 0.07657,
    "h": 286.6
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#4E4A79
secondary
#9FA27D
accent
#C167B9
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4A79

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

Preview Lab → · Contrast checker → · Palette generator →

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