#4D4877#4D4877

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

Color values

HEX#4D4877
RGBrgb(77, 72, 119)
HSLhsl(246, 25%, 37%)
HSVhsv(246, 39%, 47%)
CMYKcmyk(35.3%, 39.5%, 0%, 53.3%)
CIE-LABlab(33.02, 14.12, -26.16)
CIE-LCHlch(33.02, 29.73, 298.37°)
OKLaboklab(42.8% 0.0232 -0.0732)
OKLCHoklch(42.8% 0.077 287.6)
XYZxyz(8.7068, 7.5442, 18.4466)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4877 #727748
analogous
#485B77 #4D4877 #654877
triadic
#4D4877 #774D48 #48774D
tetradic
#4D4877 #77485B #727748 #487765
square
#4D4877 #77485B #727748 #487765
split-complementary
#4D4877 #776548 #5B7748
monochromatic
#1C1A2B #343151 #4D4877 #665F9D #8A85B5

Accessibility & contrast

On white

8.37
#4D4877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4D4877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4877
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4877#FFFFFF#000000##FFFFFF
##4D48771.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4F79
Deuteranopia (green-blind)
#394C76
Tritanopia (blue-blind)
#42515A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d4877;
/* rgb */ color: rgb(77, 72, 119);
/* oklch */ color: oklch(42.8% 0.077 287.6);
Tailwind
colors: {
  custom: {
    50: '#807b9e',
    500: '#4d4877',
    950: '#000000',
  },
}
SCSS
$custom: #4d4877;
$custom-light: #807b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4877",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 119
  },
  "hsl": {
    "h": 246.383,
    "s": 24.607,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42803,
    "c": 0.0768,
    "h": 287.6
  },
  "luminance": 0.07544
}

Semantic roles & 50–950 ramp

primary
#4D4877
secondary
#9DA17A
accent
#C167B7
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4D4877

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

Preview Lab → · Contrast checker → · Palette generator →

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