#4E50BA#4E50BA

#4E50BA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.0% C 0.163 H 277.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#4E50BA
RGBrgb(78, 80, 186)
HSLhsl(239, 44%, 52%)
HSVhsv(239, 58%, 73%)
CMYKcmyk(58.1%, 57%, 0%, 27.1%)
CIE-LABlab(39.41, 30.57, -56.43)
CIE-LCHlch(39.41, 64.18, 298.45°)
OKLaboklab(48.99% 0.0219 -0.1619)
OKLCHoklch(48.99% 0.163 277.7)
XYZxyz(14.8706, 10.9011, 47.7654)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50BA #BAB84E
analogous
#4E86BA #4E50BA #824EBA
triadic
#4E50BA #BA4E50 #50BA4E
tetradic
#4E50BA #BA4E86 #BAB84E #4EBA82
square
#4E50BA #BA4E86 #BAB84E #4EBA82
split-complementary
#4E50BA #BA824E #86BA4E
monochromatic
#282966 #393B92 #4E50BA #7A7CCB #A6A7DC

Accessibility & contrast

On white

6.60
#4E50BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4E50BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50BA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50BA#FFFFFF#000000##FFFFFF
##4E50BA1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#06697D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e50ba;
/* rgb */ color: rgb(78, 80, 186);
/* oklch */ color: oklch(49.0% 0.163 277.7);
Tailwind
colors: {
  custom: {
    50: '#8981cf',
    500: '#4e50ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e50ba;
$custom-light: #8981cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50ba",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 186
  },
  "hsl": {
    "h": 238.889,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48994,
    "c": 0.16334,
    "h": 277.7
  },
  "luminance": 0.10902
}

Semantic roles & 50–950 ramp

primary
#4E50BA
secondary
#CAC99A
accent
#D154D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4E50BA

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

Preview Lab → · Contrast checker → · Palette generator →

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