#4E50B9#4E50B9

#4E50B9 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.9% C 0.162 H 277.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4E50B9
RGBrgb(78, 80, 185)
HSLhsl(239, 43%, 52%)
HSVhsv(239, 58%, 73%)
CMYKcmyk(57.8%, 56.8%, 0%, 27.5%)
CIE-LABlab(39.34, 30.24, -55.96)
CIE-LCHlch(39.34, 63.60, 298.39°)
OKLaboklab(48.92% 0.0219 -0.1605)
OKLCHoklch(48.92% 0.162 277.8)
XYZxyz(14.7647, 10.8588, 47.2074)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50B9 #B9B74E
analogous
#4E86B9 #4E50B9 #824EB9
triadic
#4E50B9 #B94E50 #50B94E
tetradic
#4E50B9 #B94E86 #B9B74E #4EB982
square
#4E50B9 #B94E86 #B9B74E #4EB982
split-complementary
#4E50B9 #B9824E #86B94E
monochromatic
#282965 #393B91 #4E50B9 #7A7BCA #A6A7DC

Accessibility & contrast

On white

6.62
#4E50B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4E50B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50B9
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50B9#FFFFFF#000000##FFFFFF
##4E50B91.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#09697C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e50b9;
/* rgb */ color: rgb(78, 80, 185);
/* oklch */ color: oklch(48.9% 0.162 277.8);
Tailwind
colors: {
  custom: {
    50: '#8981cf',
    500: '#4e50b9',
    950: '#000000',
  },
}
SCSS
$custom: #4e50b9;
$custom-light: #8981cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50b9",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 185
  },
  "hsl": {
    "h": 238.879,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48918,
    "c": 0.16196,
    "h": 277.8
  },
  "luminance": 0.1086
}

Semantic roles & 50–950 ramp

primary
#4E50B9
secondary
#C9C89A
accent
#D155D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4E50B9

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

Preview Lab → · Contrast checker → · Palette generator →

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