#4E56D9#4E56D9

#4E56D9 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.197 H 274.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4E56D9
RGBrgb(78, 86, 217)
HSLhsl(237, 65%, 58%)
HSVhsv(237, 64%, 85%)
CMYKcmyk(64.1%, 60.4%, 0%, 14.9%)
CIE-LABlab(43.19, 37.18, -68.23)
CIE-LCHlch(43.19, 77.70, 298.59°)
OKLaboklab(52.52% 0.016 -0.1965)
OKLCHoklch(52.52% 0.197 274.7)
XYZxyz(18.9899, 13.2834, 67.1954)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56D9 #D9D14E
analogous
#4E9BD9 #4E56D9 #8C4ED9
triadic
#4E56D9 #D94E56 #56D94E
tetradic
#4E56D9 #D94E9B #D9D14E #4ED98C
square
#4E56D9 #D94E9B #D9D14E #4ED98C
split-complementary
#4E56D9 #D98C4E #9BD94E
monochromatic
#1F258E #2932C0 #4E56D9 #8086E4 #B3B6EF

Accessibility & contrast

On white

5.74
#4E56D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4E56D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56D9
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56D9#FFFFFF#000000##FFFFFF
##4E56D91.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e56d9;
/* rgb */ color: rgb(78, 86, 217);
/* oklch */ color: oklch(52.5% 0.197 274.7);
Tailwind
colors: {
  custom: {
    50: '#8e85e6',
    500: '#4e56d9',
    950: '#000000',
  },
}
SCSS
$custom: #4e56d9;
$custom-light: #8e85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56d9",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 217
  },
  "hsl": {
    "h": 236.547,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52517,
    "c": 0.19717,
    "h": 274.7
  },
  "luminance": 0.13285
}

Semantic roles & 50–950 ramp

primary
#4E56D9
secondary
#DDDAA6
accent
#DE40E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E56D9

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

Preview Lab → · Contrast checker → · Palette generator →

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