#4E50D1#4E50D1

#4E50D1 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.8% C 0.194 H 276.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4E50D1
RGBrgb(78, 80, 209)
HSLhsl(239, 59%, 56%)
HSVhsv(239, 63%, 82%)
CMYKcmyk(62.7%, 61.7%, 0%, 18%)
CIE-LABlab(41.15, 38.19, -66.96)
CIE-LCHlch(41.15, 77.09, 299.70°)
OKLaboklab(50.82% 0.0214 -0.1928)
OKLCHoklch(50.82% 0.194 276.3)
XYZxyz(17.5154, 11.9591, 61.6945)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50D1 #D1CF4E
analogous
#4E92D1 #4E50D1 #8E4ED1
triadic
#4E50D1 #D14E50 #50D14E
tetradic
#4E50D1 #D14E92 #D1CF4E #4ED18E
square
#4E50D1 #D14E92 #D1CF4E #4ED18E
split-complementary
#4E50D1 #D18E4E #92D14E
monochromatic
#222383 #2F31B3 #4E50D1 #7F80DE #AFB0EA

Accessibility & contrast

On white

6.19
#4E50D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4E50D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50D1
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50D1#FFFFFF#000000##FFFFFF
##4E50D11.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#005BCE
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e50d1;
/* rgb */ color: rgb(78, 80, 209);
/* oklch */ color: oklch(50.8% 0.194 276.3);
Tailwind
colors: {
  custom: {
    50: '#8d81e0',
    500: '#4e50d1',
    950: '#000000',
  },
}
SCSS
$custom: #4e50d1;
$custom-light: #8d81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50d1",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 209
  },
  "hsl": {
    "h": 239.084,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50823,
    "c": 0.19402,
    "h": 276.3
  },
  "luminance": 0.1196
}

Semantic roles & 50–950 ramp

primary
#4E50D1
secondary
#D8D8A2
accent
#E046E2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E50D1

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

Preview Lab → · Contrast checker → · Palette generator →

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