#4D4EC7#4D4EC7

#4D4EC7 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.6% C 0.184 H 277.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#4D4EC7
RGBrgb(77, 78, 199)
HSLhsl(240, 52%, 54%)
HSVhsv(240, 61%, 78%)
CMYKcmyk(61.3%, 60.8%, 0%, 22%)
CIE-LABlab(39.83, 35.95, -63.34)
CIE-LCHlch(39.83, 72.83, 299.58°)
OKLaboklab(49.59% 0.0224 -0.1822)
OKLCHoklch(49.59% 0.184 277)
XYZxyz(16.0904, 11.1488, 55.3258)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EC7 #C7C64D
analogous
#4D8BC7 #4D4EC7 #894DC7
triadic
#4D4EC7 #C74D4E #4EC74D
tetradic
#4D4EC7 #C74D8B #C7C64D #4DC789
square
#4D4EC7 #C74D8B #C7C64D #4DC789
split-complementary
#4D4EC7 #C7894D #8BC74D
monochromatic
#252575 #3334A3 #4D4EC7 #7C7CD6 #AAABE4

Accessibility & contrast

On white

6.50
#4D4EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4D4EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4EC7
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EC7#FFFFFF#000000##FFFFFF
##4D4EC71.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d4ec7;
/* rgb */ color: rgb(77, 78, 199);
/* oklch */ color: oklch(49.6% 0.184 277.0);
Tailwind
colors: {
  custom: {
    50: '#8b80d9',
    500: '#4d4ec7',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ec7;
$custom-light: #8b80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ec7",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 239.508,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.4959,
    "c": 0.1836,
    "h": 277
  },
  "luminance": 0.1115
}

Semantic roles & 50–950 ramp

primary
#4D4EC7
secondary
#D2D19E
accent
#DA4CDC
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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