#4E50B0#4E50B0

#4E50B0 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.149 H 278.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4E50B0
RGBrgb(78, 80, 176)
HSLhsl(239, 39%, 50%)
HSVhsv(239, 56%, 69%)
CMYKcmyk(55.7%, 54.5%, 0%, 31%)
CIE-LABlab(38.71, 27.26, -51.68)
CIE-LCHlch(38.71, 58.43, 297.81°)
OKLaboklab(48.25% 0.0216 -0.1479)
OKLCHoklch(48.25% 0.149 278.3)
XYZxyz(13.8445, 10.4907, 42.3613)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50B0 #B0AE4E
analogous
#4E81B0 #4E50B0 #7D4EB0
triadic
#4E50B0 #B04E50 #50B04E
tetradic
#4E50B0 #B04E81 #B0AE4E #4EB07D
square
#4E50B0 #B04E81 #B0AE4E #4EB07D
split-complementary
#4E50B0 #B07D4E #81B04E
monochromatic
#28295B #3B3D86 #4E50B0 #787AC3 #A2A3D6

Accessibility & contrast

On white

6.78
#4E50B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4E50B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50B0
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50B0#FFFFFF#000000##FFFFFF
##4E50B01.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145FB3
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#1C6678
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e50b0;
/* rgb */ color: rgb(78, 80, 176);
/* oklch */ color: oklch(48.2% 0.149 278.3);
Tailwind
colors: {
  custom: {
    50: '#8881c8',
    500: '#4e50b0',
    950: '#000000',
  },
}
SCSS
$custom: #4e50b0;
$custom-light: #8881c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50b0",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 176
  },
  "hsl": {
    "h": 238.776,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48246,
    "c": 0.14947,
    "h": 278.3
  },
  "luminance": 0.10492
}

Semantic roles & 50–950 ramp

primary
#4E50B0
secondary
#C3C297
accent
#CC59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E50B0

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

Preview Lab → · Contrast checker → · Palette generator →

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