#4D4EC5#4D4EC5

#4D4EC5 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.4% C 0.181 H 277.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4D4EC5
RGBrgb(77, 78, 197)
HSLhsl(240, 51%, 54%)
HSVhsv(240, 61%, 77%)
CMYKcmyk(60.9%, 60.4%, 0%, 22.7%)
CIE-LABlab(39.68, 35.29, -62.43)
CIE-LCHlch(39.68, 71.71, 299.48°)
OKLaboklab(49.43% 0.0225 -0.1795)
OKLCHoklch(49.43% 0.181 277.1)
XYZxyz(15.8597, 11.0566, 54.1109)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EC5 #C5C44D
analogous
#4D8AC5 #4D4EC5 #884DC5
triadic
#4D4EC5 #C54D4E #4EC54D
tetradic
#4D4EC5 #C54D8A #C5C44D #4DC588
square
#4D4EC5 #C54D8A #C5C44D #4DC588
split-complementary
#4D4EC5 #C5884D #8AC54D
monochromatic
#252672 #3435A0 #4D4EC5 #7B7CD4 #A9AAE3

Accessibility & contrast

On white

6.54
#4D4EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4D4EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4EC5
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EC5#FFFFFF#000000##FFFFFF
##4D4EC51.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d4ec5;
/* rgb */ color: rgb(77, 78, 197);
/* oklch */ color: oklch(49.4% 0.181 277.1);
Tailwind
colors: {
  custom: {
    50: '#8b80d7',
    500: '#4d4ec5',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ec5;
$custom-light: #8b80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ec5",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 239.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49428,
    "c": 0.18095,
    "h": 277.1
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#4D4EC5
secondary
#D1D09D
accent
#D94DDA
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4D4EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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