#4E50BC#4E50BC

#4E50BC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.1% C 0.166 H 277.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4E50BC
RGBrgb(78, 80, 188)
HSLhsl(239, 45%, 52%)
HSVhsv(239, 59%, 74%)
CMYKcmyk(58.5%, 57.4%, 0%, 26.3%)
CIE-LABlab(39.56, 31.23, -57.36)
CIE-LCHlch(39.56, 65.32, 298.57°)
OKLaboklab(49.15% 0.0219 -0.1646)
OKLCHoklch(49.15% 0.166 277.6)
XYZxyz(15.0847, 10.9868, 48.8930)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50BC #BCBA4E
analogous
#4E87BC #4E50BC #834EBC
triadic
#4E50BC #BC4E50 #50BC4E
tetradic
#4E50BC #BC4E87 #BCBA4E #4EBC83
square
#4E50BC #BC4E87 #BCBA4E #4EBC83
split-complementary
#4E50BC #BC834E #87BC4E
monochromatic
#272968 #383A95 #4E50BC #7A7CCD #A7A8DE

Accessibility & contrast

On white

6.57
#4E50BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4E50BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50BC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50BC#FFFFFF#000000##FFFFFF
##4E50BC1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e50bc;
/* rgb */ color: rgb(78, 80, 188);
/* oklch */ color: oklch(49.1% 0.166 277.6);
Tailwind
colors: {
  custom: {
    50: '#8a81d1',
    500: '#4e50bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e50bc;
$custom-light: #8a81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50bc",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 238.909,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49148,
    "c": 0.16607,
    "h": 277.6
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

primary
#4E50BC
secondary
#CBCA9B
accent
#D253D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4E50BC

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

Preview Lab → · Contrast checker → · Palette generator →

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