#4D4EB4#4D4EB4

#4D4EB4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.1% C 0.158 H 278.2°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4D4EB4
RGBrgb(77, 78, 180)
HSLhsl(239, 41%, 50%)
HSVhsv(239, 57%, 71%)
CMYKcmyk(57.2%, 56.7%, 0%, 29.4%)
CIE-LABlab(38.41, 29.65, -54.52)
CIE-LCHlch(38.41, 62.06, 298.54°)
OKLaboklab(48.1% 0.0226 -0.1563)
OKLCHoklch(48.1% 0.158 278.2)
XYZxyz(14.0206, 10.3209, 44.4245)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EB4 #B4B34D
analogous
#4D82B4 #4D4EB4 #7F4DB4
triadic
#4D4EB4 #B44D4E #4EB44D
tetradic
#4D4EB4 #B44D82 #B4B34D #4DB47F
square
#4D4EB4 #B44D82 #B4B34D #4DB47F
split-complementary
#4D4EB4 #B47F4D #82B44D
monochromatic
#28285F #3A3B8A #4D4EB4 #7879C6 #A3A4D8

Accessibility & contrast

On white

6.85
#4D4EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4D4EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4EB4
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EB4#FFFFFF#000000##FFFFFF
##4D4EB41.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB7
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#116679
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d4eb4;
/* rgb */ color: rgb(77, 78, 180);
/* oklch */ color: oklch(48.1% 0.158 278.2);
Tailwind
colors: {
  custom: {
    50: '#887fcb',
    500: '#4d4eb4',
    950: '#000000',
  },
}
SCSS
$custom: #4d4eb4;
$custom-light: #887fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4eb4",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 239.417,
    "s": 40.711,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48095,
    "c": 0.15794,
    "h": 278.2
  },
  "luminance": 0.10322
}

Semantic roles & 50–950 ramp

primary
#4D4EB4
secondary
#C5C597
accent
#CF57D1
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4D4EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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