#4E50BD#4E50BD

#4E50BD is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.2% C 0.167 H 277.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#4E50BD
RGBrgb(78, 80, 189)
HSLhsl(239, 46%, 52%)
HSVhsv(239, 59%, 74%)
CMYKcmyk(58.7%, 57.7%, 0%, 25.9%)
CIE-LABlab(39.63, 31.57, -57.83)
CIE-LCHlch(39.63, 65.88, 298.63°)
OKLaboklab(49.23% 0.0219 -0.166)
OKLCHoklch(49.23% 0.167 277.5)
XYZxyz(15.1929, 11.0300, 49.4627)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50BD #BDBB4E
analogous
#4E87BD #4E50BD #844EBD
triadic
#4E50BD #BD4E50 #50BD4E
tetradic
#4E50BD #BD4E87 #BDBB4E #4EBD84
square
#4E50BD #BD4E87 #BDBB4E #4EBD84
split-complementary
#4E50BD #BD844E #87BD4E
monochromatic
#272869 #383A96 #4E50BD #7B7CCE #A7A8DE

Accessibility & contrast

On white

6.55
#4E50BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4E50BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50BD
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50BD#FFFFFF#000000##FFFFFF
##4E50BD1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e50bd;
/* rgb */ color: rgb(78, 80, 189);
/* oklch */ color: oklch(49.2% 0.167 277.5);
Tailwind
colors: {
  custom: {
    50: '#8a81d2',
    500: '#4e50bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e50bd;
$custom-light: #8a81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50bd",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 238.919,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49225,
    "c": 0.16744,
    "h": 277.5
  },
  "luminance": 0.11031
}

Semantic roles & 50–950 ramp

primary
#4E50BD
secondary
#CCCB9B
accent
#D352D5
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4E50BD

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

Preview Lab → · Contrast checker → · Palette generator →

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