#4D4E87#4D4E87

#4D4E87 is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.0% C 0.092 H 281.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4D4E87
RGBrgb(77, 78, 135)
HSLhsl(239, 27%, 42%)
HSVhsv(239, 43%, 53%)
CMYKcmyk(43%, 42.2%, 0%, 47.1%)
CIE-LABlab(35.55, 15.08, -32.06)
CIE-LCHlch(35.55, 35.43, 295.19°)
OKLaboklab(45.02% 0.018 -0.0904)
OKLCHoklch(45.02% 0.092 281.3)
XYZxyz(10.1569, 8.7754, 24.0756)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E87 #87864D
analogous
#4D6B87 #4D4E87 #694D87
triadic
#4D4E87 #874D4E #4E874D
tetradic
#4D4E87 #874D6B #87864D #4D8769
square
#4D4E87 #874D6B #87864D #4D8769
split-complementary
#4D4E87 #87694D #6B874D
monochromatic
#212139 #373760 #4D4E87 #6869A9 #8F90BF

Accessibility & contrast

On white

7.62
#4D4E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4D4E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E87
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E87#FFFFFF#000000##FFFFFF
##4D4E871.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5689
Deuteranopia (green-blind)
#375286
Tritanopia (blue-blind)
#3B5964
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d4e87;
/* rgb */ color: rgb(77, 78, 135);
/* oklch */ color: oklch(45.0% 0.092 281.3);
Tailwind
colors: {
  custom: {
    50: '#827faa',
    500: '#4d4e87',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e87;
$custom-light: #827faa;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e87",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 238.966,
    "s": 27.358,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45018,
    "c": 0.09217,
    "h": 281.3
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#4D4E87
secondary
#ACAB84
accent
#C264C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4D4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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