#4E50D4#4E50D4

#4E50D4 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.1% C 0.198 H 276.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4E50D4
RGBrgb(78, 80, 212)
HSLhsl(239, 61%, 57%)
HSVhsv(239, 63%, 83%)
CMYKcmyk(63.2%, 62.3%, 0%, 16.9%)
CIE-LABlab(41.39, 39.18, -68.30)
CIE-LCHlch(41.39, 78.74, 299.84°)
OKLaboklab(51.07% 0.0212 -0.1968)
OKLCHoklch(51.07% 0.198 276.2)
XYZxyz(17.8903, 12.1090, 63.6691)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50D4 #D4D24E
analogous
#4E93D4 #4E50D4 #8F4ED4
triadic
#4E50D4 #D44E50 #50D44E
tetradic
#4E50D4 #D44E93 #D4D24E #4ED48F
square
#4E50D4 #D44E93 #D4D24E #4ED48F
split-complementary
#4E50D4 #D48F4E #93D44E
monochromatic
#212287 #2D2FB8 #4E50D4 #7F81E0 #B0B1EC

Accessibility & contrast

On white

6.14
#4E50D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4E50D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50D4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50D4#FFFFFF#000000##FFFFFF
##4E50D41.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#005CD1
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e50d4;
/* rgb */ color: rgb(78, 80, 212);
/* oklch */ color: oklch(51.1% 0.198 276.2);
Tailwind
colors: {
  custom: {
    50: '#8e81e2',
    500: '#4e50d4',
    950: '#000000',
  },
}
SCSS
$custom: #4e50d4;
$custom-light: #8e81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50d4",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 239.104,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51072,
    "c": 0.1979,
    "h": 276.2
  },
  "luminance": 0.1211
}

Semantic roles & 50–950 ramp

primary
#4E50D4
secondary
#DAD9A4
accent
#E244E4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #4E50D4

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

Preview Lab → · Contrast checker → · Palette generator →

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