#4E56DA#4E56DA

#4E56DA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.6% C 0.198 H 274.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4E56DA
RGBrgb(78, 86, 218)
HSLhsl(237, 65%, 58%)
HSVhsv(237, 64%, 85%)
CMYKcmyk(64.2%, 60.6%, 0%, 14.5%)
CIE-LABlab(43.26, 37.52, -68.68)
CIE-LCHlch(43.26, 78.26, 298.65°)
OKLaboklab(52.6% 0.016 -0.1978)
OKLCHoklch(52.6% 0.198 274.6)
XYZxyz(19.1204, 13.3356, 67.8825)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56DA #DAD24E
analogous
#4E9CDA #4E56DA #8C4EDA
triadic
#4E56DA #DA4E56 #56DA4E
tetradic
#4E56DA #DA4E9C #DAD24E #4EDA8C
square
#4E56DA #DA4E9C #DAD24E #4EDA8C
split-complementary
#4E56DA #DA8C4E #9CDA4E
monochromatic
#1E2590 #2931C2 #4E56DA #8186E5 #B3B7EF

Accessibility & contrast

On white

5.73
#4E56DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4E56DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56DA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56DA#FFFFFF#000000##FFFFFF
##4E56DA1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0060D7
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e56da;
/* rgb */ color: rgb(78, 86, 218);
/* oklch */ color: oklch(52.6% 0.198 274.6);
Tailwind
colors: {
  custom: {
    50: '#8f85e6',
    500: '#4e56da',
    950: '#000000',
  },
}
SCSS
$custom: #4e56da;
$custom-light: #8f85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56da",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 218
  },
  "hsl": {
    "h": 236.571,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52598,
    "c": 0.19848,
    "h": 274.6
  },
  "luminance": 0.13337
}

Semantic roles & 50–950 ramp

primary
#4E56DA
secondary
#DEDBA6
accent
#DF3FE8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E56DA

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

Preview Lab → · Contrast checker → · Palette generator →

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