#4D4E7A#4D4E7A

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

Color values

HEX#4D4E7A
RGBrgb(77, 78, 122)
HSLhsl(239, 23%, 39%)
HSVhsv(239, 37%, 48%)
CMYKcmyk(36.9%, 36.1%, 0%, 52.2%)
CIE-LABlab(34.87, 11.13, -25.12)
CIE-LCHlch(34.87, 27.48, 293.89°)
OKLaboklab(44.27% 0.015 -0.0702)
OKLCHoklch(44.27% 0.072 282.1)
XYZxyz(9.2968, 8.4314, 19.5462)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E7A #7A794D
analogous
#4D657A #4D4E7A #634D7A
triadic
#4D4E7A #7A4D4E #4E7A4D
tetradic
#4D4E7A #7A4D65 #7A794D #4D7A63
square
#4D4E7A #7A4D65 #7A794D #4D7A63
split-complementary
#4D4E7A #7A634D #657A4D
monochromatic
#1E1E2F #353654 #4D4E7A #66679E #8B8CB6

Accessibility & contrast

On white

7.82
#4D4E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D4E7A
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E7A#FFFFFF#000000##FFFFFF
##4D4E7A1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547C
Deuteranopia (green-blind)
#3E5179
Tritanopia (blue-blind)
#41565E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d4e7a;
/* rgb */ color: rgb(77, 78, 122);
/* oklch */ color: oklch(44.3% 0.072 282.1);
Tailwind
colors: {
  custom: {
    50: '#807fa0',
    500: '#4d4e7a',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e7a;
$custom-light: #807fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e7a",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 238.667,
    "s": 22.613,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44271,
    "c": 0.0718,
    "h": 282.1
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#4D4E7A
secondary
#A3A280
accent
#BD69BF
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A0A0F
muted
#7C7C7E

Preview Lab

Preview with #4D4E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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