#4E5BC4#4E5BC4

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

Color values

HEX#4E5BC4
RGBrgb(78, 91, 196)
HSLhsl(233, 50%, 54%)
HSVhsv(233, 60%, 77%)
CMYKcmyk(60.2%, 53.6%, 0%, 23.1%)
CIE-LABlab(42.89, 27.00, -56.63)
CIE-LCHlch(42.89, 62.73, 295.49°)
OKLaboklab(51.82% 0.0113 -0.1623)
OKLCHoklch(51.82% 0.163 274)
XYZxyz(16.8435, 13.0861, 53.8521)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5BC4 #C4B74E
analogous
#4E96C4 #4E5BC4 #7C4EC4
triadic
#4E5BC4 #C44E5B #5BC44E
tetradic
#4E5BC4 #C44E96 #C4B74E #4EC47C
square
#4E5BC4 #C44E96 #C4B74E #4EC47C
split-complementary
#4E5BC4 #C47C4E #96C44E
monochromatic
#262E72 #3541A0 #4E5BC4 #7C86D3 #AAB0E3

Accessibility & contrast

On white

5.81
#4E5BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4E5BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5BC4
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5BC4#FFFFFF#000000##FFFFFF
##4E5BC41.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176BC8
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5bc4;
/* rgb */ color: rgb(78, 91, 196);
/* oklch */ color: oklch(51.8% 0.163 274.0);
Tailwind
colors: {
  custom: {
    50: '#8a89d7',
    500: '#4e5bc4',
    950: '#000000',
  },
}
SCSS
$custom: #4e5bc4;
$custom-light: #8a89d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5bc4",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 196
  },
  "hsl": {
    "h": 233.39,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51815,
    "c": 0.16274,
    "h": 274
  },
  "luminance": 0.13087
}

Semantic roles & 50–950 ramp

primary
#4E5BC4
secondary
#D0CB9E
accent
#CA4EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4E5BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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