#4E50B7#4E50B7

#4E50B7 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.159 H 277.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#4E50B7
RGBrgb(78, 80, 183)
HSLhsl(239, 42%, 51%)
HSVhsv(239, 57%, 72%)
CMYKcmyk(57.4%, 56.3%, 0%, 28.2%)
CIE-LABlab(39.20, 29.58, -55.01)
CIE-LCHlch(39.20, 62.46, 298.26°)
OKLaboklab(48.77% 0.0218 -0.1577)
OKLCHoklch(48.77% 0.159 277.9)
XYZxyz(14.5551, 10.7749, 46.1033)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50B7 #B7B54E
analogous
#4E84B7 #4E50B7 #804EB7
triadic
#4E50B7 #B74E50 #50B74E
tetradic
#4E50B7 #B74E84 #B7B54E #4EB780
square
#4E50B7 #B74E84 #B7B54E #4EB780
split-complementary
#4E50B7 #B7804E #84B74E
monochromatic
#282963 #3A3B8E #4E50B7 #7A7BC9 #A5A6DA

Accessibility & contrast

On white

6.66
#4E50B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4E50B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50B7
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50B7#FFFFFF#000000##FFFFFF
##4E50B71.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#0F687B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e50b7;
/* rgb */ color: rgb(78, 80, 183);
/* oklch */ color: oklch(48.8% 0.159 277.9);
Tailwind
colors: {
  custom: {
    50: '#8981cd',
    500: '#4e50b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e50b7;
$custom-light: #8981cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50b7",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 183
  },
  "hsl": {
    "h": 238.857,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48767,
    "c": 0.15921,
    "h": 277.9
  },
  "luminance": 0.10776
}

Semantic roles & 50–950 ramp

primary
#4E50B7
secondary
#C8C799
accent
#D056D2
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4E50B7

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

Preview Lab → · Contrast checker → · Palette generator →

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