#4D4E97#4D4E97

#4D4E97 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 46.0% C 0.116 H 280.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#4D4E97
RGBrgb(77, 78, 151)
HSLhsl(239, 32%, 45%)
HSVhsv(239, 49%, 59%)
CMYKcmyk(49%, 48.3%, 0%, 40.8%)
CIE-LABlab(36.48, 20.15, -40.32)
CIE-LCHlch(36.48, 45.07, 296.55°)
OKLaboklab(46.03% 0.0206 -0.1146)
OKLCHoklch(46.03% 0.116 280.2)
XYZxyz(11.3692, 9.2603, 30.4605)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E97 #97964D
analogous
#4D7397 #4D4E97 #714D97
triadic
#4D4E97 #974D4E #4E974D
tetradic
#4D4E97 #974D73 #97964D #4D9771
square
#4D4E97 #974D73 #97964D #4D9771
split-complementary
#4D4E97 #97714D #73974D
monochromatic
#242446 #38396E #4D4E97 #6D6EB4 #9596C9

Accessibility & contrast

On white

7.36
#4D4E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4D4E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E97
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E97#FFFFFF#000000##FFFFFF
##4D4E971.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599A
Deuteranopia (green-blind)
#295395
Tritanopia (blue-blind)
#325E6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d4e97;
/* rgb */ color: rgb(77, 78, 151);
/* oklch */ color: oklch(46.0% 0.116 280.2);
Tailwind
colors: {
  custom: {
    50: '#847fb6',
    500: '#4d4e97',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e97;
$custom-light: #847fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e97",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 239.189,
    "s": 32.456,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46029,
    "c": 0.1164,
    "h": 280.2
  },
  "luminance": 0.09261
}

Semantic roles & 50–950 ramp

primary
#4D4E97
secondary
#B6B58A
accent
#C75FC9
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4D4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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