#4D4E86#4D4E86

#4D4E86 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 45.0% C 0.091 H 281.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#4D4E86
RGBrgb(77, 78, 134)
HSLhsl(239, 27%, 41%)
HSVhsv(239, 43%, 53%)
CMYKcmyk(42.5%, 41.8%, 0%, 47.5%)
CIE-LABlab(35.49, 14.77, -31.54)
CIE-LCHlch(35.49, 34.82, 295.09°)
OKLaboklab(44.96% 0.0178 -0.0888)
OKLCHoklch(44.96% 0.091 281.3)
XYZxyz(10.0868, 8.7474, 23.7066)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E86 #86854D
analogous
#4D6B86 #4D4E86 #694D86
triadic
#4D4E86 #864D4E #4E864D
tetradic
#4D4E86 #864D6B #86854D #4D8669
square
#4D4E86 #864D6B #86854D #4D8669
split-complementary
#4D4E86 #86694D #6B864D
monochromatic
#202138 #37375F #4D4E86 #6869A8 #8F90BF

Accessibility & contrast

On white

7.64
#4D4E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4D4E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E86
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E86#FFFFFF#000000##FFFFFF
##4D4E861.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5688
Deuteranopia (green-blind)
#375185
Tritanopia (blue-blind)
#3C5963
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d4e86;
/* rgb */ color: rgb(77, 78, 134);
/* oklch */ color: oklch(45.0% 0.091 281.3);
Tailwind
colors: {
  custom: {
    50: '#827fa9',
    500: '#4d4e86',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e86;
$custom-light: #827fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e86",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 238.947,
    "s": 27.014,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44958,
    "c": 0.09062,
    "h": 281.3
  },
  "luminance": 0.08748
}

Semantic roles & 50–950 ramp

primary
#4D4E86
secondary
#ABAA84
accent
#C264C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4D4E86

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

Preview Lab → · Contrast checker → · Palette generator →

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