#4E56D6#4E56D6

#4E56D6 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.3% C 0.193 H 274.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4E56D6
RGBrgb(78, 86, 214)
HSLhsl(236, 62%, 57%)
HSVhsv(236, 64%, 84%)
CMYKcmyk(63.6%, 59.8%, 0%, 16.1%)
CIE-LABlab(42.96, 36.18, -66.89)
CIE-LCHlch(42.96, 76.05, 298.41°)
OKLaboklab(52.27% 0.0161 -0.1926)
OKLCHoklch(52.27% 0.193 274.8)
XYZxyz(18.6033, 13.1287, 65.1590)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56D6 #D6CE4E
analogous
#4E9AD6 #4E56D6 #8A4ED6
triadic
#4E56D6 #D64E56 #56D64E
tetradic
#4E56D6 #D64E9A #D6CE4E #4ED68A
square
#4E56D6 #D64E9A #D6CE4E #4ED68A
split-complementary
#4E56D6 #D68A4E #9AD64E
monochromatic
#20268A #2B34BB #4E56D6 #8085E2 #B1B5ED

Accessibility & contrast

On white

5.79
#4E56D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4E56D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56D6
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56D6#FFFFFF#000000##FFFFFF
##4E56D61.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e56d6;
/* rgb */ color: rgb(78, 86, 214);
/* oklch */ color: oklch(52.3% 0.193 274.8);
Tailwind
colors: {
  custom: {
    50: '#8e85e4',
    500: '#4e56d6',
    950: '#000000',
  },
}
SCSS
$custom: #4e56d6;
$custom-light: #8e85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56d6",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 214
  },
  "hsl": {
    "h": 236.471,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52274,
    "c": 0.19325,
    "h": 274.8
  },
  "luminance": 0.1313
}

Semantic roles & 50–950 ramp

primary
#4E56D6
secondary
#DBD8A4
accent
#DC42E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E56D6

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

Preview Lab → · Contrast checker → · Palette generator →

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