#4E56D7#4E56D7

#4E56D7 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.195 H 274.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4E56D7
RGBrgb(78, 86, 215)
HSLhsl(236, 63%, 57%)
HSVhsv(236, 64%, 84%)
CMYKcmyk(63.7%, 60%, 0%, 15.7%)
CIE-LABlab(43.03, 36.52, -67.34)
CIE-LCHlch(43.03, 76.60, 298.47°)
OKLaboklab(52.36% 0.0161 -0.1939)
OKLCHoklch(52.36% 0.195 274.7)
XYZxyz(18.7314, 13.1800, 65.8337)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56D7 #D7CF4E
analogous
#4E9BD7 #4E56D7 #8A4ED7
triadic
#4E56D7 #D74E56 #56D74E
tetradic
#4E56D7 #D74E9B #D7CF4E #4ED78A
square
#4E56D7 #D74E9B #D7CF4E #4ED78A
split-complementary
#4E56D7 #D78A4E #9BD74E
monochromatic
#1F268B #2B33BD #4E56D7 #8086E2 #B2B5EE

Accessibility & contrast

On white

5.77
#4E56D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4E56D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56D7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56D7#FFFFFF#000000##FFFFFF
##4E56D71.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e56d7;
/* rgb */ color: rgb(78, 86, 215);
/* oklch */ color: oklch(52.4% 0.195 274.7);
Tailwind
colors: {
  custom: {
    50: '#8e85e4',
    500: '#4e56d7',
    950: '#000000',
  },
}
SCSS
$custom: #4e56d7;
$custom-light: #8e85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56d7",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 215
  },
  "hsl": {
    "h": 236.496,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52355,
    "c": 0.19457,
    "h": 274.7
  },
  "luminance": 0.13182
}

Semantic roles & 50–950 ramp

primary
#4E56D7
secondary
#DCD9A5
accent
#DD42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E56D7

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

Preview Lab → · Contrast checker → · Palette generator →

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