#4E56C0#4E56C0

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

Color values

HEX#4E56C0
RGBrgb(78, 86, 192)
HSLhsl(236, 48%, 53%)
HSVhsv(236, 59%, 75%)
CMYKcmyk(59.4%, 55.2%, 0%, 24.7%)
CIE-LABlab(41.34, 28.80, -56.81)
CIE-LCHlch(41.34, 63.69, 296.88°)
OKLaboklab(50.57% 0.016 -0.1629)
OKLCHoklch(50.57% 0.164 275.6)
XYZxyz(15.9810, 12.0798, 51.3485)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56C0 #C0B84E
analogous
#4E8FC0 #4E56C0 #7F4EC0
triadic
#4E56C0 #C04E56 #56C04E
tetradic
#4E56C0 #C04E8F #C0B84E #4EC07F
square
#4E56C0 #C04E8F #C0B84E #4EC07F
split-complementary
#4E56C0 #C07F4E #8FC04E
monochromatic
#272C6D #373E9A #4E56C0 #7B81D0 #A8ACE0

Accessibility & contrast

On white

6.15
#4E56C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4E56C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56C0
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56C0#FFFFFF#000000##FFFFFF
##4E56C01.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0566C4
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e56c0;
/* rgb */ color: rgb(78, 86, 192);
/* oklch */ color: oklch(50.6% 0.164 275.6);
Tailwind
colors: {
  custom: {
    50: '#8a85d4',
    500: '#4e56c0',
    950: '#000000',
  },
}
SCSS
$custom: #4e56c0;
$custom-light: #8a85d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56c0",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 192
  },
  "hsl": {
    "h": 235.789,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50567,
    "c": 0.16373,
    "h": 275.6
  },
  "luminance": 0.12081
}

Semantic roles & 50–950 ramp

primary
#4E56C0
secondary
#CECA9C
accent
#CE51D7
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4E56C0

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

Preview Lab → · Contrast checker → · Palette generator →

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