#4D50EA#4D50EA

#4D50EA is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.9% C 0.226 H 274.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4D50EA
RGBrgb(77, 80, 234)
HSLhsl(239, 79%, 61%)
HSVhsv(239, 67%, 92%)
CMYKcmyk(67.1%, 65.8%, 0%, 8.2%)
CIE-LABlab(43.14, 46.26, -77.96)
CIE-LCHlch(43.14, 90.66, 300.69°)
OKLaboklab(52.9% 0.0183 -0.2251)
OKLCHoklch(52.9% 0.226 274.6)
XYZxyz(20.7756, 13.2537, 79.2893)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D50EA #EAE74D
analogous
#4D9EEA #4D50EA #994DEA
triadic
#4D50EA #EA4D50 #50EA4D
tetradic
#4D50EA #EA4D9E #EAE74D #4DEA99
square
#4D50EA #EA4D9E #EAE74D #4DEA99
split-complementary
#4D50EA #EA994D #9EEA4D
monochromatic
#1417A9 #1A1EDF #4D50EA #8486F0 #BABCF7

Accessibility & contrast

On white

5.75
#4D50EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4D50EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D50EA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D50EA#FFFFFF#000000##FFFFFF
##4D50EA1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEF
Deuteranopia (green-blind)
#005FE7
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d50ea;
/* rgb */ color: rgb(77, 80, 234);
/* oklch */ color: oklch(52.9% 0.226 274.6);
Tailwind
colors: {
  custom: {
    50: '#9282f2',
    500: '#4d50ea',
    950: '#000000',
  },
}
SCSS
$custom: #4d50ea;
$custom-light: #9282f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d50ea",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 234
  },
  "hsl": {
    "h": 238.854,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52896,
    "c": 0.22587,
    "h": 274.6
  },
  "luminance": 0.13256
}

Semantic roles & 50–950 ramp

primary
#4D50EA
secondary
#E7E6AC
accent
#D70ADB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4D50EA

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

Preview Lab → · Contrast checker → · Palette generator →

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