#4E56C2#4E56C2

#4E56C2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.7% C 0.166 H 275.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4E56C2
RGBrgb(78, 86, 194)
HSLhsl(236, 49%, 53%)
HSVhsv(236, 60%, 76%)
CMYKcmyk(59.8%, 55.7%, 0%, 23.9%)
CIE-LABlab(41.48, 29.47, -57.74)
CIE-LCHlch(41.48, 64.83, 297.04°)
OKLaboklab(50.72% 0.0161 -0.1657)
OKLCHoklch(50.72% 0.166 275.5)
XYZxyz(16.2041, 12.1691, 52.5234)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56C2 #C2BA4E
analogous
#4E90C2 #4E56C2 #804EC2
triadic
#4E56C2 #C24E56 #56C24E
tetradic
#4E56C2 #C24E90 #C2BA4E #4EC280
square
#4E56C2 #C24E90 #C2BA4E #4EC280
split-complementary
#4E56C2 #C2804E #90C24E
monochromatic
#262B6F #363D9D #4E56C2 #7C81D2 #A9ADE1

Accessibility & contrast

On white

6.12
#4E56C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4E56C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56C2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56C2#FFFFFF#000000##FFFFFF
##4E56C21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e56c2;
/* rgb */ color: rgb(78, 86, 194);
/* oklch */ color: oklch(50.7% 0.166 275.5);
Tailwind
colors: {
  custom: {
    50: '#8a85d5',
    500: '#4e56c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e56c2;
$custom-light: #8a85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56c2",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 235.862,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50717,
    "c": 0.16647,
    "h": 275.5
  },
  "luminance": 0.1217
}

Semantic roles & 50–950 ramp

primary
#4E56C2
secondary
#CFCB9D
accent
#CF50D8
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4E56C2

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

Preview Lab → · Contrast checker → · Palette generator →

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