#4E50D3#4E50D3

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

Color values

HEX#4E50D3
RGBrgb(78, 80, 211)
HSLhsl(239, 60%, 57%)
HSVhsv(239, 63%, 83%)
CMYKcmyk(63%, 62.1%, 0%, 17.3%)
CIE-LABlab(41.31, 38.85, -67.85)
CIE-LCHlch(41.31, 78.19, 299.79°)
OKLaboklab(50.99% 0.0213 -0.1955)
OKLCHoklch(50.99% 0.197 276.2)
XYZxyz(17.7646, 12.0587, 63.0068)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50D3 #D3D14E
analogous
#4E93D3 #4E50D3 #8F4ED3
triadic
#4E50D3 #D34E50 #50D34E
tetradic
#4E50D3 #D34E93 #D3D14E #4ED38F
square
#4E50D3 #D34E93 #D3D14E #4ED38F
split-complementary
#4E50D3 #D38F4E #93D34E
monochromatic
#212385 #2D2FB6 #4E50D3 #7F80DF #B0B1EB

Accessibility & contrast

On white

6.15
#4E50D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4E50D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50D3
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50D3#FFFFFF#000000##FFFFFF
##4E50D31.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e50d3;
/* rgb */ color: rgb(78, 80, 211);
/* oklch */ color: oklch(51.0% 0.197 276.2);
Tailwind
colors: {
  custom: {
    50: '#8e81e1',
    500: '#4e50d3',
    950: '#000000',
  },
}
SCSS
$custom: #4e50d3;
$custom-light: #8e81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50d3",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 211
  },
  "hsl": {
    "h": 239.098,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50989,
    "c": 0.19661,
    "h": 276.2
  },
  "luminance": 0.1206
}

Semantic roles & 50–950 ramp

primary
#4E50D3
secondary
#DAD9A3
accent
#E144E3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #4E50D3

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

Preview Lab → · Contrast checker → · Palette generator →

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