#4E56D3#4E56D3

#4E56D3 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.189 H 274.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4E56D3
RGBrgb(78, 86, 211)
HSLhsl(236, 60%, 57%)
HSVhsv(236, 63%, 83%)
CMYKcmyk(63%, 59.2%, 0%, 17.3%)
CIE-LABlab(42.73, 35.18, -65.54)
CIE-LCHlch(42.73, 74.39, 298.22°)
OKLaboklab(52.03% 0.0162 -0.1886)
OKLCHoklch(52.03% 0.189 274.9)
XYZxyz(18.2237, 12.9769, 63.1598)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56D3 #D3CB4E
analogous
#4E99D3 #4E56D3 #894ED3
triadic
#4E56D3 #D34E56 #56D34E
tetradic
#4E56D3 #D34E99 #D3CB4E #4ED389
square
#4E56D3 #D34E99 #D3CB4E #4ED389
split-complementary
#4E56D3 #D3894E #99D34E
monochromatic
#212785 #2D36B6 #4E56D3 #7F85DF #B0B4EB

Accessibility & contrast

On white

5.84
#4E56D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4E56D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56D3
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56D3#FFFFFF#000000##FFFFFF
##4E56D31.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#005FD1
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e56d3;
/* rgb */ color: rgb(78, 86, 211);
/* oklch */ color: oklch(52.0% 0.189 274.9);
Tailwind
colors: {
  custom: {
    50: '#8d85e1',
    500: '#4e56d3',
    950: '#000000',
  },
}
SCSS
$custom: #4e56d3;
$custom-light: #8d85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56d3",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 211
  },
  "hsl": {
    "h": 236.391,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52034,
    "c": 0.18931,
    "h": 274.9
  },
  "luminance": 0.12978
}

Semantic roles & 50–950 ramp

primary
#4E56D3
secondary
#DAD6A3
accent
#DA44E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E56D3

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

Preview Lab → · Contrast checker → · Palette generator →

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