#4D4E85#4D4E85

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

Color values

HEX#4D4E85
RGBrgb(77, 78, 133)
HSLhsl(239, 27%, 41%)
HSVhsv(239, 42%, 52%)
CMYKcmyk(42.1%, 41.4%, 0%, 47.8%)
CIE-LABlab(35.44, 14.46, -31.01)
CIE-LCHlch(35.44, 34.22, 295.00°)
OKLaboklab(44.9% 0.0176 -0.0873)
OKLCHoklch(44.9% 0.089 281.4)
XYZxyz(10.0174, 8.7196, 23.3410)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E85 #85844D
analogous
#4D6A85 #4D4E85 #684D85
triadic
#4D4E85 #854D4E #4E854D
tetradic
#4D4E85 #854D6A #85844D #4D8568
square
#4D4E85 #854D6A #85844D #4D8568
split-complementary
#4D4E85 #85684D #6A854D
monochromatic
#202137 #37375E #4D4E85 #6869A7 #8F8FBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D4E85#FFFFFF#000000##FFFFFF
##4D4E851.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)
#3B5587
Deuteranopia (green-blind)
#385184
Tritanopia (blue-blind)
#3C5963
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d4e85;
/* rgb */ color: rgb(77, 78, 133);
/* oklch */ color: oklch(44.9% 0.089 281.4);
Tailwind
colors: {
  custom: {
    50: '#817fa9',
    500: '#4d4e85',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e85;
$custom-light: #817fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e85",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 133
  },
  "hsl": {
    "h": 238.929,
    "s": 26.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44898,
    "c": 0.08907,
    "h": 281.4
  },
  "luminance": 0.0872
}

Semantic roles & 50–950 ramp

primary
#4D4E85
secondary
#AAAA83
accent
#C165C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4D4E85

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

Preview Lab → · Contrast checker → · Palette generator →

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