#4E5AC2#4E5AC2

#4E5AC2 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.5% C 0.161 H 274.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4E5AC2
RGBrgb(78, 90, 194)
HSLhsl(234, 49%, 53%)
HSVhsv(234, 60%, 76%)
CMYKcmyk(59.8%, 53.6%, 0%, 23.9%)
CIE-LABlab(42.50, 26.95, -56.10)
CIE-LCHlch(42.50, 62.24, 295.66°)
OKLaboklab(51.48% 0.0121 -0.1608)
OKLCHoklch(51.48% 0.161 274.3)
XYZxyz(16.5325, 12.8258, 52.6329)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AC2 #C2B64E
analogous
#4E94C2 #4E5AC2 #7C4EC2
triadic
#4E5AC2 #C24E5A #5AC24E
tetradic
#4E5AC2 #C24E94 #C2B64E #4EC27C
square
#4E5AC2 #C24E94 #C2B64E #4EC27C
split-complementary
#4E5AC2 #C27C4E #94C24E
monochromatic
#262E6F #36419D #4E5AC2 #7C84D2 #A9AFE1

Accessibility & contrast

On white

5.89
#4E5AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4E5AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AC2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AC2#FFFFFF#000000##FFFFFF
##4E5AC21.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1769C6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5ac2;
/* rgb */ color: rgb(78, 90, 194);
/* oklch */ color: oklch(51.5% 0.161 274.3);
Tailwind
colors: {
  custom: {
    50: '#8a88d5',
    500: '#4e5ac2',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ac2;
$custom-light: #8a88d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ac2",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 233.793,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.16128,
    "h": 274.3
  },
  "luminance": 0.12827
}

Semantic roles & 50–950 ramp

primary
#4E5AC2
secondary
#CFCA9D
accent
#CA50D8
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4E5AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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