#4D50E5#4D50E5

#4D50E5 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.5% C 0.220 H 274.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4D50E5
RGBrgb(77, 80, 229)
HSLhsl(239, 75%, 60%)
HSVhsv(239, 66%, 90%)
CMYKcmyk(66.4%, 65.1%, 0%, 10.2%)
CIE-LABlab(42.72, 44.63, -75.83)
CIE-LCHlch(42.72, 87.99, 300.48°)
OKLaboklab(52.46% 0.0188 -0.2189)
OKLCHoklch(52.46% 0.22 274.9)
XYZxyz(20.0674, 12.9704, 75.5596)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D50E5 #E5E24D
analogous
#4D9CE5 #4D50E5 #964DE5
triadic
#4D50E5 #E54D50 #50E54D
tetradic
#4D50E5 #E54D9C #E5E24D #4DE596
square
#4D50E5 #E54D9C #E5E24D #4DE596
split-complementary
#4D50E5 #E5964D #9CE54D
monochromatic
#171AA0 #1F23D6 #4D50E5 #8284ED #B8B9F5

Accessibility & contrast

On white

5.84
#4D50E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4D50E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D50E5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D50E5#FFFFFF#000000##FFFFFF
##4D50E51.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#005EE2
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d50e5;
/* rgb */ color: rgb(77, 80, 229);
/* oklch */ color: oklch(52.5% 0.220 274.9);
Tailwind
colors: {
  custom: {
    50: '#9182ee',
    500: '#4d50e5',
    950: '#000000',
  },
}
SCSS
$custom: #4d50e5;
$custom-light: #9182ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d50e5",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 238.816,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.21967,
    "h": 274.9
  },
  "luminance": 0.12972
}

Semantic roles & 50–950 ramp

primary
#4D50E5
secondary
#E4E3AA
accent
#ED37F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4D50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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