#4E50B5#4E50B5

#4E50B5 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.6% C 0.156 H 278.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#4E50B5
RGBrgb(78, 80, 181)
HSLhsl(239, 41%, 51%)
HSVhsv(239, 57%, 71%)
CMYKcmyk(56.9%, 55.8%, 0%, 29%)
CIE-LABlab(39.06, 28.92, -54.07)
CIE-LCHlch(39.06, 61.31, 298.14°)
OKLaboklab(48.62% 0.0218 -0.1549)
OKLCHoklch(48.62% 0.156 278)
XYZxyz(14.3484, 10.6922, 45.0148)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50B5 #B5B34E
analogous
#4E83B5 #4E50B5 #7F4EB5
triadic
#4E50B5 #B54E50 #50B54E
tetradic
#4E50B5 #B54E83 #B5B34E #4EB57F
square
#4E50B5 #B54E83 #B5B34E #4EB57F
split-complementary
#4E50B5 #B57F4E #83B54E
monochromatic
#282960 #3A3C8B #4E50B5 #797BC7 #A4A5D9

Accessibility & contrast

On white

6.69
#4E50B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4E50B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50B5
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50B5#FFFFFF#000000##FFFFFF
##4E50B51.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0560B8
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#14677A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e50b5;
/* rgb */ color: rgb(78, 80, 181);
/* oklch */ color: oklch(48.6% 0.156 278.0);
Tailwind
colors: {
  custom: {
    50: '#8981cc',
    500: '#4e50b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e50b5;
$custom-light: #8981cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50b5",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 181
  },
  "hsl": {
    "h": 238.835,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48616,
    "c": 0.15644,
    "h": 278
  },
  "luminance": 0.10693
}

Semantic roles & 50–950 ramp

primary
#4E50B5
secondary
#C6C599
accent
#CF57D1
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E50B5

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

Preview Lab → · Contrast checker → · Palette generator →

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