#4E50D2#4E50D2

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

Color values

HEX#4E50D2
RGBrgb(78, 80, 210)
HSLhsl(239, 59%, 56%)
HSVhsv(239, 63%, 82%)
CMYKcmyk(62.9%, 61.9%, 0%, 17.6%)
CIE-LABlab(41.23, 38.52, -67.41)
CIE-LCHlch(41.23, 77.64, 299.75°)
OKLaboklab(50.91% 0.0213 -0.1941)
OKLCHoklch(50.91% 0.195 276.3)
XYZxyz(17.6396, 12.0087, 62.3486)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50D2 #D2D04E
analogous
#4E92D2 #4E50D2 #8E4ED2
triadic
#4E50D2 #D24E50 #50D24E
tetradic
#4E50D2 #D24E92 #D2D04E #4ED28E
square
#4E50D2 #D24E92 #D2D04E #4ED28E
split-complementary
#4E50D2 #D28E4E #92D24E
monochromatic
#222384 #2E30B5 #4E50D2 #7F80DE #B0B0EB

Accessibility & contrast

On white

6.17
#4E50D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4E50D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50D2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50D2#FFFFFF#000000##FFFFFF
##4E50D21.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e50d2;
/* rgb */ color: rgb(78, 80, 210);
/* oklch */ color: oklch(50.9% 0.195 276.3);
Tailwind
colors: {
  custom: {
    50: '#8e81e1',
    500: '#4e50d2',
    950: '#000000',
  },
}
SCSS
$custom: #4e50d2;
$custom-light: #8e81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50d2",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 239.091,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50906,
    "c": 0.19532,
    "h": 276.3
  },
  "luminance": 0.1201
}

Semantic roles & 50–950 ramp

primary
#4E50D2
secondary
#D9D8A3
accent
#E045E3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #4E50D2

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

Preview Lab → · Contrast checker → · Palette generator →

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