#4E56CF#4E56CF

#4E56CF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.184 H 275.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4E56CF
RGBrgb(78, 86, 207)
HSLhsl(236, 57%, 56%)
HSVhsv(236, 62%, 81%)
CMYKcmyk(62.3%, 58.5%, 0%, 18.8%)
CIE-LABlab(42.43, 33.84, -63.73)
CIE-LCHlch(42.43, 72.16, 297.96°)
OKLaboklab(51.72% 0.0162 -0.1833)
OKLCHoklch(51.72% 0.184 275.1)
XYZxyz(17.7285, 12.7788, 60.5517)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56CF #CFC74E
analogous
#4E96CF #4E56CF #864ECF
triadic
#4E56CF #CF4E56 #56CF4E
tetradic
#4E56CF #CF4E96 #CFC74E #4ECF86
square
#4E56CF #CF4E96 #CFC74E #4ECF86
split-complementary
#4E56CF #CF864E #96CF4E
monochromatic
#232880 #3038B0 #4E56CF #7E84DC #AEB2E9

Accessibility & contrast

On white

5.91
#4E56CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4E56CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56CF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56CF#FFFFFF#000000##FFFFFF
##4E56CF1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#00738A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e56cf;
/* rgb */ color: rgb(78, 86, 207);
/* oklch */ color: oklch(51.7% 0.184 275.1);
Tailwind
colors: {
  custom: {
    50: '#8d85df',
    500: '#4e56cf',
    950: '#000000',
  },
}
SCSS
$custom: #4e56cf;
$custom-light: #8d85df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56cf",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 236.279,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51717,
    "c": 0.18402,
    "h": 275.1
  },
  "luminance": 0.1278
}

Semantic roles & 50–950 ramp

primary
#4E56CF
secondary
#D7D4A2
accent
#D747E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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