#4D4E9B#4D4E9B

#4D4E9B is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.122 H 279.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4D4E9B
RGBrgb(77, 78, 155)
HSLhsl(239, 34%, 45%)
HSVhsv(239, 50%, 61%)
CMYKcmyk(50.3%, 49.7%, 0%, 39.2%)
CIE-LABlab(36.73, 21.44, -42.34)
CIE-LCHlch(36.73, 47.46, 296.86°)
OKLaboklab(46.3% 0.0211 -0.1205)
OKLCHoklch(46.3% 0.122 279.9)
XYZxyz(11.6995, 9.3925, 32.2004)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E9B #9B9A4D
analogous
#4D759B #4D4E9B #734D9B
triadic
#4D4E9B #9B4D4E #4E9B4D
tetradic
#4D4E9B #9B4D75 #9B9A4D #4D9B73
square
#4D4E9B #9B4D75 #9B9A4D #4D9B73
split-complementary
#4D4E9B #9B734D #759B4D
monochromatic
#242549 #393972 #4D4E9B #6E6FB7 #9798CB

Accessibility & contrast

On white

7.30
#4D4E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4D4E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E9B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E9B#FFFFFF#000000##FFFFFF
##4D4E9B1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B599E
Deuteranopia (green-blind)
#255399
Tritanopia (blue-blind)
#2F5F6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d4e9b;
/* rgb */ color: rgb(77, 78, 155);
/* oklch */ color: oklch(46.3% 0.122 279.9);
Tailwind
colors: {
  custom: {
    50: '#847fb9',
    500: '#4d4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e9b;
$custom-light: #847fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e9b",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 239.231,
    "s": 33.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46297,
    "c": 0.1223,
    "h": 279.9
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#4D4E9B
secondary
#B8B78C
accent
#C85ECA
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4D4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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