#4D4E7D#4D4E7D

#4D4E7D is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.4% C 0.077 H 281.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#4D4E7D
RGBrgb(77, 78, 125)
HSLhsl(239, 24%, 40%)
HSVhsv(239, 38%, 49%)
CMYKcmyk(38.4%, 37.6%, 0%, 51%)
CIE-LABlab(35.02, 12.02, -26.74)
CIE-LCHlch(35.02, 29.32, 294.21°)
OKLaboklab(44.44% 0.0158 -0.0749)
OKLCHoklch(44.44% 0.077 281.9)
XYZxyz(9.4856, 8.5069, 20.5403)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E7D #7D7C4D
analogous
#4D667D #4D4E7D #644D7D
triadic
#4D4E7D #7D4D4E #4E7D4D
tetradic
#4D4E7D #7D4D66 #7D7C4D #4D7D64
square
#4D4E7D #7D4D66 #7D7C4D #4D7D64
split-complementary
#4D4E7D #7D644D #667D4D
monochromatic
#1E1F31 #363657 #4D4E7D #6667A1 #8C8DB8

Accessibility & contrast

On white

7.77
#4D4E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4D4E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E7D
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E7D#FFFFFF#000000##FFFFFF
##4D4E7D1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547F
Deuteranopia (green-blind)
#3D517C
Tritanopia (blue-blind)
#40575F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d4e7d;
/* rgb */ color: rgb(77, 78, 125);
/* oklch */ color: oklch(44.4% 0.077 281.9);
Tailwind
colors: {
  custom: {
    50: '#817fa3',
    500: '#4d4e7d',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e7d;
$custom-light: #817fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e7d",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 238.75,
    "s": 23.762,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44437,
    "c": 0.07655,
    "h": 281.9
  },
  "luminance": 0.08507
}

Semantic roles & 50–950 ramp

primary
#4D4E7D
secondary
#A5A481
accent
#BE68C0
background
#F8F7FA
surface
#EFEEF3
border
#CAC9CD
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4D4E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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