#5E56DC#5E56DC

#5E56DC is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.9% C 0.198 H 280.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5E56DC
RGBrgb(94, 86, 220)
HSLhsl(244, 66%, 60%)
HSVhsv(244, 61%, 86%)
CMYKcmyk(57.3%, 60.9%, 0%, 13.7%)
CIE-LABlab(44.52, 40.73, -67.72)
CIE-LCHlch(44.52, 79.03, 301.02°)
OKLaboklab(53.85% 0.0347 -0.1946)
OKLCHoklch(53.85% 0.198 280.1)
XYZxyz(20.8581, 14.2011, 69.3382)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E56DC #D4DC56
analogous
#5691DC #5E56DC #A156DC
triadic
#5E56DC #DC5E56 #56DC5E
tetradic
#5E56DC #DC5691 #D4DC56 #56DCA1
square
#5E56DC #DC5691 #D4DC56 #56DCA1
split-complementary
#5E56DC #DCA156 #91DC56
monochromatic
#272098 #342ACB #5E56DC #8E89E6 #BFBBF1

Accessibility & contrast

On white

5.47
#5E56DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5E56DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E56DC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E56DC#FFFFFF#000000##FFFFFF
##5E56DC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#117791
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e56dc;
/* rgb */ color: rgb(94, 86, 220);
/* oklch */ color: oklch(53.9% 0.198 280.1);
Tailwind
colors: {
  custom: {
    50: '#9786e8',
    500: '#5e56dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e56dc;
$custom-light: #9786e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e56dc",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 243.582,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.53853,
    "c": 0.19767,
    "h": 280.1
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#5E56DC
secondary
#DEE1AD
accent
#E93FDF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5E56DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5E56DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva