#4E4977#4E4977

#4E4977 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.1% C 0.075 H 287.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4E4977
RGBrgb(78, 73, 119)
HSLhsl(247, 24%, 38%)
HSVhsv(247, 39%, 47%)
CMYKcmyk(34.5%, 38.7%, 0%, 53.3%)
CIE-LABlab(33.39, 13.78, -25.57)
CIE-LCHlch(33.39, 29.05, 298.33°)
OKLaboklab(43.11% 0.023 -0.0715)
OKLCHoklch(43.11% 0.075 287.8)
XYZxyz(8.8533, 7.7165, 18.4722)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4977 #727749
analogous
#495B77 #4E4977 #654977
triadic
#4E4977 #774E49 #49774E
tetradic
#4E4977 #77495B #727749 #497765
square
#4E4977 #77495B #727749 #497765
split-complementary
#4E4977 #776549 #5B7749
monochromatic
#1C1A2B #353251 #4E4977 #67609D #8B86B5

Accessibility & contrast

On white

8.26
#4E4977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E4977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4977
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4977#FFFFFF#000000##FFFFFF
##4E49771.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5079
Deuteranopia (green-blind)
#3B4D76
Tritanopia (blue-blind)
#44515A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4977;
/* rgb */ color: rgb(78, 73, 119);
/* oklch */ color: oklch(43.1% 0.075 287.8);
Tailwind
colors: {
  custom: {
    50: '#817b9e',
    500: '#4e4977',
    950: '#000000',
  },
}
SCSS
$custom: #4e4977;
$custom-light: #817b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4977",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 119
  },
  "hsl": {
    "h": 246.522,
    "s": 23.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43108,
    "c": 0.07508,
    "h": 287.8
  },
  "luminance": 0.07717
}

Semantic roles & 50–950 ramp

primary
#4E4977
secondary
#9DA17B
accent
#C067B7
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4977

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

Preview Lab → · Contrast checker → · Palette generator →

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