#4D4D80#4D4D80

#4D4D80 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.4% C 0.083 H 282.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4D4D80
RGBrgb(77, 77, 128)
HSLhsl(240, 25%, 40%)
HSVhsv(240, 40%, 50%)
CMYKcmyk(39.8%, 39.8%, 0%, 49.8%)
CIE-LABlab(34.89, 13.58, -28.80)
CIE-LCHlch(34.89, 31.84, 295.24°)
OKLaboklab(44.39% 0.0179 -0.0809)
OKLCHoklch(44.39% 0.083 282.5)
XYZxyz(9.6096, 8.4437, 21.5414)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4D80 #80804D
analogous
#4D6680 #4D4D80 #664D80
triadic
#4D4D80 #804D4D #4D804D
tetradic
#4D4D80 #804D66 #80804D #4D8066
square
#4D4D80 #804D66 #80804D #4D8066
split-complementary
#4D4D80 #80664D #66804D
monochromatic
#1F1F34 #36365A #4D4D80 #6767A3 #8D8DBA

Accessibility & contrast

On white

7.81
#4D4D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4D4D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4D80
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4D80#FFFFFF#000000##FFFFFF
##4D4D801.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5482
Deuteranopia (green-blind)
#3A507F
Tritanopia (blue-blind)
#3E5760
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d4d80;
/* rgb */ color: rgb(77, 77, 128);
/* oklch */ color: oklch(44.4% 0.083 282.5);
Tailwind
colors: {
  custom: {
    50: '#817ea5',
    500: '#4d4d80',
    950: '#000000',
  },
}
SCSS
$custom: #4d4d80;
$custom-light: #817ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4d80",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 128
  },
  "hsl": {
    "h": 240,
    "s": 24.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44391,
    "c": 0.08283,
    "h": 282.5
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#4D4D80
secondary
#A7A782
accent
#C167C1
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4D4D80

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

Preview Lab → · Contrast checker → · Palette generator →

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