#4E50BB#4E50BB

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

Color values

HEX#4E50BB
RGBrgb(78, 80, 187)
HSLhsl(239, 44%, 52%)
HSVhsv(239, 58%, 73%)
CMYKcmyk(58.3%, 57.2%, 0%, 26.7%)
CIE-LABlab(39.49, 30.90, -56.90)
CIE-LCHlch(39.49, 64.75, 298.51°)
OKLaboklab(49.07% 0.0219 -0.1632)
OKLCHoklch(49.07% 0.165 277.6)
XYZxyz(14.9773, 10.9438, 48.3272)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50BB #BBB94E
analogous
#4E87BB #4E50BB #834EBB
triadic
#4E50BB #BB4E50 #50BB4E
tetradic
#4E50BB #BB4E87 #BBB94E #4EBB83
square
#4E50BB #BB4E87 #BBB94E #4EBB83
split-complementary
#4E50BB #BB834E #87BB4E
monochromatic
#282967 #393A93 #4E50BB #7A7CCC #A6A7DD

Accessibility & contrast

On white

6.59
#4E50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4E50BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50BB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50BB#FFFFFF#000000##FFFFFF
##4E50BB1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#02697D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e50bb;
/* rgb */ color: rgb(78, 80, 187);
/* oklch */ color: oklch(49.1% 0.165 277.6);
Tailwind
colors: {
  custom: {
    50: '#8a81d0',
    500: '#4e50bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e50bb;
$custom-light: #8a81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50bb",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 238.899,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49071,
    "c": 0.16471,
    "h": 277.6
  },
  "luminance": 0.10945
}

Semantic roles & 50–950 ramp

primary
#4E50BB
secondary
#CAC99B
accent
#D254D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4E50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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