#4D50C7#4D50C7

#4D50C7 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.9% C 0.181 H 276.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4D50C7
RGBrgb(77, 80, 199)
HSLhsl(239, 52%, 54%)
HSVhsv(239, 61%, 78%)
CMYKcmyk(61.3%, 59.8%, 0%, 22%)
CIE-LABlab(40.31, 34.72, -62.56)
CIE-LCHlch(40.31, 71.55, 299.03°)
OKLaboklab(49.94% 0.0206 -0.1799)
OKLCHoklch(49.94% 0.181 276.5)
XYZxyz(16.2347, 11.4374, 55.3739)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D50C7 #C7C44D
analogous
#4D8DC7 #4D50C7 #874DC7
triadic
#4D50C7 #C74D50 #50C74D
tetradic
#4D50C7 #C74D8D #C7C44D #4DC787
square
#4D50C7 #C74D8D #C7C44D #4DC787
split-complementary
#4D50C7 #C7874D #8DC74D
monochromatic
#252775 #3336A3 #4D50C7 #7C7ED6 #AAACE4

Accessibility & contrast

On white

6.39
#4D50C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4D50C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D50C7
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D50C7#FFFFFF#000000##FFFFFF
##4D50C71.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d50c7;
/* rgb */ color: rgb(77, 80, 199);
/* oklch */ color: oklch(49.9% 0.181 276.5);
Tailwind
colors: {
  custom: {
    50: '#8b81d9',
    500: '#4d50c7',
    950: '#000000',
  },
}
SCSS
$custom: #4d50c7;
$custom-light: #8b81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d50c7",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 238.525,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49942,
    "c": 0.1811,
    "h": 276.5
  },
  "luminance": 0.11439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D50C7

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

Preview Lab → · Contrast checker → · Palette generator →

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