#4E4779#4E4779

#4E4779 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.8% C 0.082 H 288.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4E4779
RGBrgb(78, 71, 121)
HSLhsl(248, 26%, 38%)
HSVhsv(248, 41%, 47%)
CMYKcmyk(35.5%, 41.3%, 0%, 52.5%)
CIE-LABlab(32.93, 15.67, -27.53)
CIE-LCHlch(32.93, 31.67, 299.64°)
OKLaboklab(42.8% 0.0264 -0.0772)
OKLCHoklch(42.8% 0.082 288.9)
XYZxyz(8.8454, 7.5064, 19.0683)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4779 #727947
analogous
#475979 #4E4779 #674779
triadic
#4E4779 #794E47 #47794E
tetradic
#4E4779 #794759 #727947 #477967
square
#4E4779 #794759 #727947 #477967
split-complementary
#4E4779 #796747 #597947
monochromatic
#1C1A2C #353052 #4E4779 #675EA0 #8B84B7

Accessibility & contrast

On white

8.40
#4E4779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E4779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4779
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4779#FFFFFF#000000##FFFFFF
##4E47791.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7B
Deuteranopia (green-blind)
#374C78
Tritanopia (blue-blind)
#43505A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4779;
/* rgb */ color: rgb(78, 71, 121);
/* oklch */ color: oklch(42.8% 0.082 288.9);
Tailwind
colors: {
  custom: {
    50: '#817aa0',
    500: '#4e4779',
    950: '#000000',
  },
}
SCSS
$custom: #4e4779;
$custom-light: #817aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4779",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 121
  },
  "hsl": {
    "h": 248.4,
    "s": 26.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42797,
    "c": 0.08156,
    "h": 288.9
  },
  "luminance": 0.07507
}

Semantic roles & 50–950 ramp

primary
#4E4779
secondary
#9DA379
accent
#C265B5
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4779

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

Preview Lab → · Contrast checker → · Palette generator →

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