#4E5AC4#4E5AC4

#4E5AC4 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.6% C 0.164 H 274.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4E5AC4
RGBrgb(78, 90, 196)
HSLhsl(234, 50%, 54%)
HSVhsv(234, 60%, 77%)
CMYKcmyk(60.2%, 54.1%, 0%, 23.1%)
CIE-LABlab(42.64, 27.63, -57.04)
CIE-LCHlch(42.64, 63.38, 295.84°)
OKLaboklab(51.62% 0.0122 -0.1636)
OKLCHoklch(51.62% 0.164 274.3)
XYZxyz(16.7586, 12.9162, 53.8238)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AC4 #C4B84E
analogous
#4E95C4 #4E5AC4 #7D4EC4
triadic
#4E5AC4 #C44E5A #5AC44E
tetradic
#4E5AC4 #C44E95 #C4B84E #4EC47D
square
#4E5AC4 #C44E95 #C4B84E #4EC47D
split-complementary
#4E5AC4 #C47D4E #95C44E
monochromatic
#262E72 #3540A0 #4E5AC4 #7C85D3 #AAB0E3

Accessibility & contrast

On white

5.86
#4E5AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4E5AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AC4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AC4#FFFFFF#000000##FFFFFF
##4E5AC41.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126AC8
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5ac4;
/* rgb */ color: rgb(78, 90, 196);
/* oklch */ color: oklch(51.6% 0.164 274.3);
Tailwind
colors: {
  custom: {
    50: '#8a88d7',
    500: '#4e5ac4',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ac4;
$custom-light: #8a88d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ac4",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 196
  },
  "hsl": {
    "h": 233.898,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51624,
    "c": 0.16404,
    "h": 274.3
  },
  "luminance": 0.12918
}

Semantic roles & 50–950 ramp

primary
#4E5AC4
secondary
#D0CB9E
accent
#CB4EDA
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4E5AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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