#4E5AC5#4E5AC5

#4E5AC5 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.165 H 274.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4E5AC5
RGBrgb(78, 90, 197)
HSLhsl(234, 51%, 54%)
HSVhsv(234, 60%, 77%)
CMYKcmyk(60.4%, 54.3%, 0%, 22.7%)
CIE-LABlab(42.71, 27.97, -57.51)
CIE-LCHlch(42.71, 63.95, 295.93°)
OKLaboklab(51.7% 0.0123 -0.165)
OKLCHoklch(51.7% 0.165 274.3)
XYZxyz(16.8728, 12.9619, 54.4253)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AC5 #C5B94E
analogous
#4E96C5 #4E5AC5 #7E4EC5
triadic
#4E5AC5 #C54E5A #5AC54E
tetradic
#4E5AC5 #C54E96 #C5B94E #4EC57E
square
#4E5AC5 #C54E96 #C5B94E #4EC57E
split-complementary
#4E5AC5 #C57E4E #96C54E
monochromatic
#262D73 #3540A1 #4E5AC5 #7C85D4 #AAB0E3

Accessibility & contrast

On white

5.85
#4E5AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4E5AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AC5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AC5#FFFFFF#000000##FFFFFF
##4E5AC51.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6AC9
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5ac5;
/* rgb */ color: rgb(78, 90, 197);
/* oklch */ color: oklch(51.7% 0.165 274.3);
Tailwind
colors: {
  custom: {
    50: '#8b88d7',
    500: '#4e5ac5',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ac5;
$custom-light: #8b88d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ac5",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 197
  },
  "hsl": {
    "h": 233.95,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51697,
    "c": 0.16541,
    "h": 274.3
  },
  "luminance": 0.12963
}

Semantic roles & 50–950 ramp

primary
#4E5AC5
secondary
#D1CC9E
accent
#CC4EDA
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4E5AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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