#4D507A#4D507A

#4D507A is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.7% C 0.069 H 280.1°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#4D507A
RGBrgb(77, 80, 122)
HSLhsl(236, 23%, 39%)
HSVhsv(236, 37%, 48%)
CMYKcmyk(36.9%, 34.4%, 0%, 52.2%)
CIE-LABlab(35.44, 9.84, -24.23)
CIE-LCHlch(35.44, 26.15, 292.10°)
OKLaboklab(44.71% 0.012 -0.0676)
OKLCHoklch(44.71% 0.069 280.1)
XYZxyz(9.4411, 8.7199, 19.5943)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D507A #7A774D
analogous
#4D677A #4D507A #614D7A
triadic
#4D507A #7A4D50 #507A4D
tetradic
#4D507A #7A4D67 #7A774D #4D7A61
square
#4D507A #7A4D67 #7A774D #4D7A61
split-complementary
#4D507A #7A614D #677A4D
monochromatic
#1E1F2F #353754 #4D507A #666A9E #8B8EB6

Accessibility & contrast

On white

7.65
#4D507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4D507A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D507A
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D507A#FFFFFF#000000##FFFFFF
##4D507A1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557C
Deuteranopia (green-blind)
#405279
Tritanopia (blue-blind)
#41585F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d507a;
/* rgb */ color: rgb(77, 80, 122);
/* oklch */ color: oklch(44.7% 0.069 280.1);
Tailwind
colors: {
  custom: {
    50: '#8081a0',
    500: '#4d507a',
    950: '#000000',
  },
}
SCSS
$custom: #4d507a;
$custom-light: #8081a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d507a",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 236,
    "s": 22.613,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44713,
    "c": 0.06869,
    "h": 280.1
  },
  "luminance": 0.0872
}

Semantic roles & 50–950 ramp

primary
#4D507A
secondary
#A3A080
accent
#B969BF
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A0A0F
muted
#7C7C7E

Preview Lab

Preview with #4D507A

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

Preview Lab → · Contrast checker → · Palette generator →

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