#4E56C1#4E56C1

#4E56C1 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.165 H 275.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4E56C1
RGBrgb(78, 86, 193)
HSLhsl(236, 48%, 53%)
HSVhsv(236, 60%, 76%)
CMYKcmyk(59.6%, 55.4%, 0%, 24.3%)
CIE-LABlab(41.41, 29.14, -57.28)
CIE-LCHlch(41.41, 64.26, 296.96°)
OKLaboklab(50.64% 0.0161 -0.1643)
OKLCHoklch(50.64% 0.165 275.6)
XYZxyz(16.0922, 12.1243, 51.9340)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56C1 #C1B94E
analogous
#4E8FC1 #4E56C1 #7F4EC1
triadic
#4E56C1 #C14E56 #56C14E
tetradic
#4E56C1 #C14E8F #C1B94E #4EC17F
square
#4E56C1 #C14E8F #C1B94E #4EC17F
split-complementary
#4E56C1 #C17F4E #8FC14E
monochromatic
#272C6E #363D9B #4E56C1 #7B81D1 #A9ADE1

Accessibility & contrast

On white

6.13
#4E56C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4E56C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56C1
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56C1#FFFFFF#000000##FFFFFF
##4E56C11.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0167C5
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e56c1;
/* rgb */ color: rgb(78, 86, 193);
/* oklch */ color: oklch(50.6% 0.165 275.6);
Tailwind
colors: {
  custom: {
    50: '#8a85d4',
    500: '#4e56c1',
    950: '#000000',
  },
}
SCSS
$custom: #4e56c1;
$custom-light: #8a85d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56c1",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 193
  },
  "hsl": {
    "h": 235.826,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50642,
    "c": 0.1651,
    "h": 275.6
  },
  "luminance": 0.12126
}

Semantic roles & 50–950 ramp

primary
#4E56C1
secondary
#CECB9D
accent
#CE50D8
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4E56C1

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

Preview Lab → · Contrast checker → · Palette generator →

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