#4D4E9D#4D4E9D

#4D4E9D is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.125 H 279.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4D4E9D
RGBrgb(77, 78, 157)
HSLhsl(239, 34%, 46%)
HSVhsv(239, 51%, 62%)
CMYKcmyk(51%, 50.3%, 0%, 38.4%)
CIE-LABlab(36.86, 22.09, -43.34)
CIE-LCHlch(36.86, 48.64, 297.01°)
OKLaboklab(46.43% 0.0213 -0.1234)
OKLCHoklch(46.43% 0.125 279.8)
XYZxyz(11.8689, 9.4602, 33.0923)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E9D #9D9C4D
analogous
#4D769D #4D4E9D #744D9D
triadic
#4D4E9D #9D4D4E #4E9D4D
tetradic
#4D4E9D #9D4D76 #9D9C4D #4D9D74
square
#4D4E9D #9D4D76 #9D9C4D #4D9D74
split-complementary
#4D4E9D #9D744D #769D4D
monochromatic
#25254B #393A74 #4D4E9D #6F70B8 #9899CC

Accessibility & contrast

On white

7.26
#4D4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4D4E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E9D
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E9D#FFFFFF#000000##FFFFFF
##4D4E9D1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA0
Deuteranopia (green-blind)
#22549B
Tritanopia (blue-blind)
#2E5F6E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d4e9d;
/* rgb */ color: rgb(77, 78, 157);
/* oklch */ color: oklch(46.4% 0.125 279.8);
Tailwind
colors: {
  custom: {
    50: '#847fba',
    500: '#4d4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e9d;
$custom-light: #847fba;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e9d",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 239.25,
    "s": 34.188,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46433,
    "c": 0.12525,
    "h": 279.8
  },
  "luminance": 0.09461
}

Semantic roles & 50–950 ramp

primary
#4D4E9D
secondary
#B9B88D
accent
#C95ECA
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4D4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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