#4E50BF#4E50BF

#4E50BF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.4% C 0.170 H 277.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4E50BF
RGBrgb(78, 80, 191)
HSLhsl(239, 47%, 53%)
HSVhsv(239, 59%, 75%)
CMYKcmyk(59.2%, 58.1%, 0%, 25.1%)
CIE-LABlab(39.78, 32.23, -58.76)
CIE-LCHlch(39.78, 67.02, 298.74°)
OKLaboklab(49.38% 0.0219 -0.1687)
OKLCHoklch(49.38% 0.17 277.4)
XYZxyz(15.4115, 11.1175, 50.6139)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50BF #BFBD4E
analogous
#4E88BF #4E50BF #844EBF
triadic
#4E50BF #BF4E50 #50BF4E
tetradic
#4E50BF #BF4E88 #BFBD4E #4EBF84
square
#4E50BF #BF4E88 #BFBD4E #4EBF84
split-complementary
#4E50BF #BF844E #88BF4E
monochromatic
#27286C #373999 #4E50BF #7B7CCF #A8A9E0

Accessibility & contrast

On white

6.51
#4E50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4E50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50BF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50BF#FFFFFF#000000##FFFFFF
##4E50BF1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e50bf;
/* rgb */ color: rgb(78, 80, 191);
/* oklch */ color: oklch(49.4% 0.170 277.4);
Tailwind
colors: {
  custom: {
    50: '#8a81d3',
    500: '#4e50bf',
    950: '#000000',
  },
}
SCSS
$custom: #4e50bf;
$custom-light: #8a81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50bf",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 238.938,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.4938,
    "c": 0.17014,
    "h": 277.4
  },
  "luminance": 0.11119
}

Semantic roles & 50–950 ramp

primary
#4E50BF
secondary
#CDCC9C
accent
#D451D7
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4E50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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