#4E5AC1#4E5AC1

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

Color values

HEX#4E5AC1
RGBrgb(78, 90, 193)
HSLhsl(234, 48%, 53%)
HSVhsv(234, 60%, 76%)
CMYKcmyk(59.6%, 53.4%, 0%, 24.3%)
CIE-LABlab(42.43, 26.62, -55.63)
CIE-LCHlch(42.43, 61.67, 295.57°)
OKLaboklab(51.4% 0.0121 -0.1594)
OKLCHoklch(51.4% 0.16 274.3)
XYZxyz(16.4205, 12.7810, 52.0434)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AC1 #C1B54E
analogous
#4E93C1 #4E5AC1 #7B4EC1
triadic
#4E5AC1 #C14E5A #5AC14E
tetradic
#4E5AC1 #C14E93 #C1B54E #4EC17B
square
#4E5AC1 #C14E93 #C1B54E #4EC17B
split-complementary
#4E5AC1 #C17B4E #93C14E
monochromatic
#272E6E #36419B #4E5AC1 #7B84D1 #A9AFE1

Accessibility & contrast

On white

5.90
#4E5AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4E5AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AC1
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AC1#FFFFFF#000000##FFFFFF
##4E5AC11.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1969C5
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5ac1;
/* rgb */ color: rgb(78, 90, 193);
/* oklch */ color: oklch(51.4% 0.160 274.3);
Tailwind
colors: {
  custom: {
    50: '#8a88d4',
    500: '#4e5ac1',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ac1;
$custom-light: #8a88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ac1",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 193
  },
  "hsl": {
    "h": 233.739,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51404,
    "c": 0.15989,
    "h": 274.3
  },
  "luminance": 0.12782
}

Semantic roles & 50–950 ramp

primary
#4E5AC1
secondary
#CEC99D
accent
#CA50D8
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4E5AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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