#4D4E99#4D4E99

#4D4E99 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 46.2% C 0.119 H 280.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4D4E99
RGBrgb(77, 78, 153)
HSLhsl(239, 33%, 45%)
HSVhsv(239, 50%, 60%)
CMYKcmyk(49.7%, 49%, 0%, 40%)
CIE-LABlab(36.60, 20.79, -41.33)
CIE-LCHlch(36.60, 46.27, 296.71°)
OKLaboklab(46.16% 0.0209 -0.1175)
OKLCHoklch(46.16% 0.119 280.1)
XYZxyz(11.5330, 9.3258, 31.3232)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E99 #99984D
analogous
#4D7499 #4D4E99 #724D99
triadic
#4D4E99 #994D4E #4E994D
tetradic
#4D4E99 #994D74 #99984D #4D9972
square
#4D4E99 #994D74 #99984D #4D9972
split-complementary
#4D4E99 #99724D #74994D
monochromatic
#242448 #393970 #4D4E99 #6D6EB6 #9697CA

Accessibility & contrast

On white

7.33
#4D4E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4D4E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E99
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E99#FFFFFF#000000##FFFFFF
##4D4E991.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#275397
Tritanopia (blue-blind)
#315E6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d4e99;
/* rgb */ color: rgb(77, 78, 153);
/* oklch */ color: oklch(46.2% 0.119 280.1);
Tailwind
colors: {
  custom: {
    50: '#847fb7',
    500: '#4d4e99',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e99;
$custom-light: #847fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e99",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 239.211,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46162,
    "c": 0.11936,
    "h": 280.1
  },
  "luminance": 0.09326
}

Semantic roles & 50–950 ramp

primary
#4D4E99
secondary
#B7B68B
accent
#C85FC9
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4D4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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