#4D4E71#4D4E71

#4D4E71 is a dark, muted blue. Relative luminance 0.082; OKLCH L 43.8% C 0.057 H 282.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#4D4E71
RGBrgb(77, 78, 113)
HSLhsl(238, 19%, 37%)
HSVhsv(238, 32%, 44%)
CMYKcmyk(31.9%, 31%, 0%, 55.7%)
CIE-LABlab(34.43, 8.51, -20.20)
CIE-LCHlch(34.43, 21.91, 292.84°)
OKLaboklab(43.8% 0.0124 -0.056)
OKLCHoklch(43.8% 0.057 282.5)
XYZxyz(8.7648, 8.2186, 16.7441)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E71 #71704D
analogous
#4D6071 #4D4E71 #5E4D71
triadic
#4D4E71 #714D4E #4E714D
tetradic
#4D4E71 #714D60 #71704D #4D715E
square
#4D4E71 #714D60 #71704D #4D715E
split-complementary
#4D4E71 #715E4D #60714D
monochromatic
#1B1C28 #34354D #4D4E71 #666795 #898BAF

Accessibility & contrast

On white

7.94
#4D4E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4D4E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E71
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E71#FFFFFF#000000##FFFFFF
##4D4E711.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445272
Deuteranopia (green-blind)
#425070
Tritanopia (blue-blind)
#44545A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d4e71;
/* rgb */ color: rgb(77, 78, 113);
/* oklch */ color: oklch(43.8% 0.057 282.5);
Tailwind
colors: {
  custom: {
    50: '#807f9a',
    500: '#4d4e71',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e71;
$custom-light: #807f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e71",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 238.333,
    "s": 18.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43797,
    "c": 0.05739,
    "h": 282.5
  },
  "luminance": 0.08219
}

Semantic roles & 50–950 ramp

primary
#4D4E71
secondary
#9C9B7E
accent
#B96CBC
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #4D4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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