#4D4E79#4D4E79

#4D4E79 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.070 H 282.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#4D4E79
RGBrgb(77, 78, 121)
HSLhsl(239, 22%, 39%)
HSVhsv(239, 36%, 47%)
CMYKcmyk(36.4%, 35.5%, 0%, 52.5%)
CIE-LABlab(34.82, 10.83, -24.58)
CIE-LCHlch(34.82, 26.86, 293.78°)
OKLaboklab(44.22% 0.0147 -0.0686)
OKLCHoklch(44.22% 0.07 282.1)
XYZxyz(9.2352, 8.4067, 19.2215)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E79 #79784D
analogous
#4D6479 #4D4E79 #624D79
triadic
#4D4E79 #794D4E #4E794D
tetradic
#4D4E79 #794D64 #79784D #4D7962
square
#4D4E79 #794D64 #79784D #4D7962
split-complementary
#4D4E79 #79624D #64794D
monochromatic
#1D1E2E #353654 #4D4E79 #66679D #8B8CB5

Accessibility & contrast

On white

7.83
#4D4E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4D4E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E79
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E79#FFFFFF#000000##FFFFFF
##4D4E791.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41537B
Deuteranopia (green-blind)
#3F5078
Tritanopia (blue-blind)
#41565E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d4e79;
/* rgb */ color: rgb(77, 78, 121);
/* oklch */ color: oklch(44.2% 0.070 282.1);
Tailwind
colors: {
  custom: {
    50: '#807fa0',
    500: '#4d4e79',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e79;
$custom-light: #807fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e79",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 238.636,
    "s": 22.222,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44217,
    "c": 0.07021,
    "h": 282.1
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#4D4E79
secondary
#A2A180
accent
#BD69BF
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #4D4E79

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

Preview Lab → · Contrast checker → · Palette generator →

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