#4E5BAB#4E5BAB

#4E5BAB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.1% C 0.127 H 274.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4E5BAB
RGBrgb(78, 91, 171)
HSLhsl(232, 37%, 49%)
HSVhsv(232, 54%, 67%)
CMYKcmyk(54.4%, 46.8%, 0%, 32.9%)
CIE-LABlab(41.28, 18.60, -44.59)
CIE-LCHlch(41.28, 48.32, 292.64°)
OKLaboklab(50.08% 0.0088 -0.127)
OKLCHoklch(50.08% 0.127 274)
XYZxyz(14.2313, 12.0412, 40.0944)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5BAB #AB9E4E
analogous
#4E8AAB #4E5BAB #704EAB
triadic
#4E5BAB #AB4E5B #5BAB4E
tetradic
#4E5BAB #AB4E8A #AB9E4E #4EAB70
square
#4E5BAB #AB4E8A #AB9E4E #4EAB70
split-complementary
#4E5BAB #AB704E #8AAB4E
monochromatic
#282E57 #3B4581 #4E5BAB #7680C0 #A0A7D4

Accessibility & contrast

On white

6.16
#4E5BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4E5BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5BAB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5BAB#FFFFFF#000000##FFFFFF
##4E5BAB1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AE
Deuteranopia (green-blind)
#2C5EA9
Tritanopia (blue-blind)
#206D7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5bab;
/* rgb */ color: rgb(78, 91, 171);
/* oklch */ color: oklch(50.1% 0.127 274.0);
Tailwind
colors: {
  custom: {
    50: '#8689c4',
    500: '#4e5bab',
    950: '#000000',
  },
}
SCSS
$custom: #4e5bab;
$custom-light: #8689c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5bab",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 171
  },
  "hsl": {
    "h": 231.613,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50082,
    "c": 0.12726,
    "h": 274
  },
  "luminance": 0.12042
}

Semantic roles & 50–950 ramp

primary
#4E5BAB
secondary
#C1BA94
accent
#BD5ACD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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