#4E50AB#4E50AB

#4E50AB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.142 H 278.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#4E50AB
RGBrgb(78, 80, 171)
HSLhsl(239, 37%, 49%)
HSVhsv(239, 54%, 67%)
CMYKcmyk(54.4%, 53.2%, 0%, 32.9%)
CIE-LABlab(38.37, 25.61, -49.26)
CIE-LCHlch(38.37, 55.53, 297.47°)
OKLaboklab(47.88% 0.0213 -0.1408)
OKLCHoklch(47.88% 0.142 278.6)
XYZxyz(13.3589, 10.2965, 39.8037)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50AB #ABA94E
analogous
#4E7FAB #4E50AB #7B4EAB
triadic
#4E50AB #AB4E50 #50AB4E
tetradic
#4E50AB #AB4E7F #ABA94E #4EAB7B
square
#4E50AB #AB4E7F #ABA94E #4EAB7B
split-complementary
#4E50AB #AB7B4E #7FAB4E
monochromatic
#282957 #3B3C81 #4E50AB #7677C0 #A0A1D4

Accessibility & contrast

On white

6.86
#4E50AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4E50AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50AB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50AB#FFFFFF#000000##FFFFFF
##4E50AB1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5EAE
Deuteranopia (green-blind)
#0D57A9
Tritanopia (blue-blind)
#236576
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e50ab;
/* rgb */ color: rgb(78, 80, 171);
/* oklch */ color: oklch(47.9% 0.142 278.6);
Tailwind
colors: {
  custom: {
    50: '#8781c5',
    500: '#4e50ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e50ab;
$custom-light: #8781c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50ab",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 171
  },
  "hsl": {
    "h": 238.71,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47883,
    "c": 0.14241,
    "h": 278.6
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#4E50AB
secondary
#C1C094
accent
#CB5ACD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E50AB

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

Preview Lab → · Contrast checker → · Palette generator →

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