#4E56D0#4E56D0

#4E56D0 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.8% C 0.185 H 275.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4E56D0
RGBrgb(78, 86, 208)
HSLhsl(236, 58%, 56%)
HSVhsv(236, 63%, 82%)
CMYKcmyk(62.5%, 58.7%, 0%, 18.4%)
CIE-LABlab(42.50, 34.17, -64.19)
CIE-LCHlch(42.50, 72.71, 298.03°)
OKLaboklab(51.8% 0.0162 -0.1846)
OKLCHoklch(51.8% 0.185 275)
XYZxyz(17.8511, 12.8279, 61.1976)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56D0 #D0C84E
analogous
#4E97D0 #4E56D0 #874ED0
triadic
#4E56D0 #D04E56 #56D04E
tetradic
#4E56D0 #D04E97 #D0C84E #4ED087
square
#4E56D0 #D04E97 #D0C84E #4ED087
split-complementary
#4E56D0 #D0874E #97D04E
monochromatic
#222881 #2F37B2 #4E56D0 #7E84DD #AFB2EA

Accessibility & contrast

On white

5.89
#4E56D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4E56D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56D0
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56D0#FFFFFF#000000##FFFFFF
##4E56D01.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e56d0;
/* rgb */ color: rgb(78, 86, 208);
/* oklch */ color: oklch(51.8% 0.185 275.0);
Tailwind
colors: {
  custom: {
    50: '#8d85df',
    500: '#4e56d0',
    950: '#000000',
  },
}
SCSS
$custom: #4e56d0;
$custom-light: #8d85df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56d0",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 208
  },
  "hsl": {
    "h": 236.308,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51796,
    "c": 0.18535,
    "h": 275
  },
  "luminance": 0.12829
}

Semantic roles & 50–950 ramp

primary
#4E56D0
secondary
#D8D4A2
accent
#D847E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E56D0

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

Preview Lab → · Contrast checker → · Palette generator →

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