#4D50CE#4D50CE

#4D50CE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.190 H 276.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4D50CE
RGBrgb(77, 80, 206)
HSLhsl(239, 57%, 55%)
HSVhsv(239, 63%, 81%)
CMYKcmyk(62.6%, 61.2%, 0%, 19.2%)
CIE-LABlab(40.85, 37.04, -65.73)
CIE-LCHlch(40.85, 75.45, 299.40°)
OKLaboklab(50.51% 0.0204 -0.1892)
OKLCHoklch(50.51% 0.19 276.1)
XYZxyz(17.0662, 11.7699, 59.7530)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D50CE #CECB4D
analogous
#4D90CE #4D50CE #8B4DCE
triadic
#4D50CE #CE4D50 #50CE4D
tetradic
#4D50CE #CE4D90 #CECB4D #4DCE8B
square
#4D50CE #CE4D90 #CECB4D #4DCE8B
split-complementary
#4D50CE #CE8B4D #90CE4D
monochromatic
#23257E #3033AE #4D50CE #7D7FDB #ADAEE8

Accessibility & contrast

On white

6.26
#4D50CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4D50CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D50CE
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D50CE#FFFFFF#000000##FFFFFF
##4D50CE1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d50ce;
/* rgb */ color: rgb(77, 80, 206);
/* oklch */ color: oklch(50.5% 0.190 276.1);
Tailwind
colors: {
  custom: {
    50: '#8c81de',
    500: '#4d50ce',
    950: '#000000',
  },
}
SCSS
$custom: #4d50ce;
$custom-light: #8c81de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d50ce",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 238.605,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5051,
    "c": 0.19034,
    "h": 276.1
  },
  "luminance": 0.11771
}

Semantic roles & 50–950 ramp

primary
#4D50CE
secondary
#D6D5A1
accent
#DD48E0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D50CE

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

Preview Lab → · Contrast checker → · Palette generator →

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