#4E5BC5#4E5BC5

#4E5BC5 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.164 H 274.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4E5BC5
RGBrgb(78, 91, 197)
HSLhsl(233, 51%, 54%)
HSVhsv(233, 60%, 77%)
CMYKcmyk(60.4%, 53.8%, 0%, 22.7%)
CIE-LABlab(42.96, 27.34, -57.09)
CIE-LCHlch(42.96, 63.30, 295.58°)
OKLaboklab(51.89% 0.0113 -0.1637)
OKLCHoklch(51.89% 0.164 274)
XYZxyz(16.9577, 13.1317, 54.4536)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5BC5 #C5B84E
analogous
#4E97C5 #4E5BC5 #7D4EC5
triadic
#4E5BC5 #C54E5B #5BC54E
tetradic
#4E5BC5 #C54E97 #C5B84E #4EC57D
square
#4E5BC5 #C54E97 #C5B84E #4EC57D
split-complementary
#4E5BC5 #C57D4E #97C54E
monochromatic
#262E73 #3541A1 #4E5BC5 #7C86D4 #AAB0E3

Accessibility & contrast

On white

5.79
#4E5BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4E5BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5BC5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5BC5#FFFFFF#000000##FFFFFF
##4E5BC51.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156BC9
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5bc5;
/* rgb */ color: rgb(78, 91, 197);
/* oklch */ color: oklch(51.9% 0.164 274.0);
Tailwind
colors: {
  custom: {
    50: '#8b89d7',
    500: '#4e5bc5',
    950: '#000000',
  },
}
SCSS
$custom: #4e5bc5;
$custom-light: #8b89d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5bc5",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 197
  },
  "hsl": {
    "h": 233.445,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51889,
    "c": 0.16412,
    "h": 274
  },
  "luminance": 0.13133
}

Semantic roles & 50–950 ramp

primary
#4E5BC5
secondary
#D1CB9E
accent
#CB4EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4E5BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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