#4D4E84#4D4E84

#4D4E84 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.8% C 0.088 H 281.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4D4E84
RGBrgb(77, 78, 132)
HSLhsl(239, 26%, 41%)
HSVhsv(239, 42%, 52%)
CMYKcmyk(41.7%, 40.9%, 0%, 48.2%)
CIE-LABlab(35.38, 14.15, -30.48)
CIE-LCHlch(35.38, 33.61, 294.91°)
OKLaboklab(44.84% 0.0174 -0.0858)
OKLCHoklch(44.84% 0.088 281.5)
XYZxyz(9.9486, 8.6921, 22.9789)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E84 #84834D
analogous
#4D6984 #4D4E84 #674D84
triadic
#4D4E84 #844D4E #4E844D
tetradic
#4D4E84 #844D69 #84834D #4D8467
square
#4D4E84 #844D69 #84834D #4D8467
split-complementary
#4D4E84 #84674D #69844D
monochromatic
#202037 #36375D #4D4E84 #6869A7 #8E8FBD

Accessibility & contrast

On white

7.67
#4D4E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D4E84
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E84#FFFFFF#000000##FFFFFF
##4D4E841.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5586
Deuteranopia (green-blind)
#395183
Tritanopia (blue-blind)
#3D5962
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d4e84;
/* rgb */ color: rgb(77, 78, 132);
/* oklch */ color: oklch(44.8% 0.088 281.5);
Tailwind
colors: {
  custom: {
    50: '#817fa8',
    500: '#4d4e84',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e84;
$custom-light: #817fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e84",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 132
  },
  "hsl": {
    "h": 238.909,
    "s": 26.316,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44839,
    "c": 0.08752,
    "h": 281.5
  },
  "luminance": 0.08693
}

Semantic roles & 50–950 ramp

primary
#4D4E84
secondary
#AAA983
accent
#C165C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4D4E84

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

Preview Lab → · Contrast checker → · Palette generator →

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