#4E56D4#4E56D4

#4E56D4 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.1% C 0.191 H 274.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4E56D4
RGBrgb(78, 86, 212)
HSLhsl(236, 61%, 57%)
HSVhsv(236, 63%, 83%)
CMYKcmyk(63.2%, 59.4%, 0%, 16.9%)
CIE-LABlab(42.80, 35.51, -65.99)
CIE-LCHlch(42.80, 74.94, 298.29°)
OKLaboklab(52.11% 0.0162 -0.1899)
OKLCHoklch(52.11% 0.191 274.9)
XYZxyz(18.3494, 13.0272, 63.8221)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56D4 #D4CC4E
analogous
#4E99D4 #4E56D4 #894ED4
triadic
#4E56D4 #D44E56 #56D44E
tetradic
#4E56D4 #D44E99 #D4CC4E #4ED489
square
#4E56D4 #D44E99 #D4CC4E #4ED489
split-complementary
#4E56D4 #D4894E #99D44E
monochromatic
#212787 #2D35B8 #4E56D4 #7F85E0 #B0B4EC

Accessibility & contrast

On white

5.82
#4E56D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4E56D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56D4
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56D4#FFFFFF#000000##FFFFFF
##4E56D41.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#005FD1
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e56d4;
/* rgb */ color: rgb(78, 86, 212);
/* oklch */ color: oklch(52.1% 0.191 274.9);
Tailwind
colors: {
  custom: {
    50: '#8d85e2',
    500: '#4e56d4',
    950: '#000000',
  },
}
SCSS
$custom: #4e56d4;
$custom-light: #8d85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56d4",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 212
  },
  "hsl": {
    "h": 236.418,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52114,
    "c": 0.19064,
    "h": 274.9
  },
  "luminance": 0.13029
}

Semantic roles & 50–950 ramp

primary
#4E56D4
secondary
#DAD7A4
accent
#DA44E4
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4E56D4

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

Preview Lab → · Contrast checker → · Palette generator →

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