#4E50C1#4E50C1

#4E50C1 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.5% C 0.173 H 277.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4E50C1
RGBrgb(78, 80, 193)
HSLhsl(239, 48%, 53%)
HSVhsv(239, 60%, 76%)
CMYKcmyk(59.6%, 58.5%, 0%, 24.3%)
CIE-LABlab(39.93, 32.89, -59.69)
CIE-LCHlch(39.93, 68.15, 298.86°)
OKLaboklab(49.54% 0.0219 -0.1715)
OKLCHoklch(49.54% 0.173 277.3)
XYZxyz(15.6331, 11.2061, 51.7809)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50C1 #C1BF4E
analogous
#4E89C1 #4E50C1 #864EC1
triadic
#4E50C1 #C14E50 #50C14E
tetradic
#4E50C1 #C14E89 #C1BF4E #4EC186
square
#4E50C1 #C14E89 #C1BF4E #4EC186
split-complementary
#4E50C1 #C1864E #89C14E
monochromatic
#27286E #36389B #4E50C1 #7B7DD1 #A9AAE1

Accessibility & contrast

On white

6.48
#4E50C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4E50C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50C1
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50C1#FFFFFF#000000##FFFFFF
##4E50C11.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e50c1;
/* rgb */ color: rgb(78, 80, 193);
/* oklch */ color: oklch(49.5% 0.173 277.3);
Tailwind
colors: {
  custom: {
    50: '#8b81d5',
    500: '#4e50c1',
    950: '#000000',
  },
}
SCSS
$custom: #4e50c1;
$custom-light: #8b81d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50c1",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 193
  },
  "hsl": {
    "h": 238.957,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49536,
    "c": 0.17285,
    "h": 277.3
  },
  "luminance": 0.11207
}

Semantic roles & 50–950 ramp

primary
#4E50C1
secondary
#CECD9D
accent
#D550D8
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4E50C1

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

Preview Lab → · Contrast checker → · Palette generator →

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