#4D4E80#4D4E80

#4D4E80 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.6% C 0.081 H 281.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#4D4E80
RGBrgb(77, 78, 128)
HSLhsl(239, 25%, 40%)
HSVhsv(239, 40%, 50%)
CMYKcmyk(39.8%, 39.1%, 0%, 49.8%)
CIE-LABlab(35.17, 12.93, -28.35)
CIE-LCHlch(35.17, 31.16, 294.51°)
OKLaboklab(44.61% 0.0165 -0.0796)
OKLCHoklch(44.61% 0.081 281.7)
XYZxyz(9.6801, 8.5847, 21.5649)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E80 #807F4D
analogous
#4D6780 #4D4E80 #664D80
triadic
#4D4E80 #804D4E #4E804D
tetradic
#4D4E80 #804D67 #807F4D #4D8066
square
#4D4E80 #804D67 #807F4D #4D8066
split-complementary
#4D4E80 #80664D #67804D
monochromatic
#1F1F34 #36375A #4D4E80 #6768A3 #8D8EBA

Accessibility & contrast

On white

7.73
#4D4E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4D4E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E80
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E80#FFFFFF#000000##FFFFFF
##4D4E801.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5582
Deuteranopia (green-blind)
#3B517F
Tritanopia (blue-blind)
#3E5861
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d4e80;
/* rgb */ color: rgb(77, 78, 128);
/* oklch */ color: oklch(44.6% 0.081 281.7);
Tailwind
colors: {
  custom: {
    50: '#817fa5',
    500: '#4d4e80',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e80;
$custom-light: #817fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e80",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 128
  },
  "hsl": {
    "h": 238.824,
    "s": 24.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44607,
    "c": 0.08127,
    "h": 281.7
  },
  "luminance": 0.08585
}

Semantic roles & 50–950 ramp

primary
#4D4E80
secondary
#A7A682
accent
#C067C1
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4D4E80

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

Preview Lab → · Contrast checker → · Palette generator →

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