#5E56DF#5E56DF

#5E56DF is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.1% C 0.202 H 279.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5E56DF
RGBrgb(94, 86, 223)
HSLhsl(244, 68%, 61%)
HSVhsv(244, 61%, 87%)
CMYKcmyk(57.8%, 61.4%, 0%, 12.5%)
CIE-LABlab(44.75, 41.67, -69.06)
CIE-LCHlch(44.75, 80.66, 301.11°)
OKLaboklab(54.09% 0.0345 -0.1985)
OKLCHoklch(54.09% 0.202 279.9)
XYZxyz(21.2590, 14.3615, 71.4495)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E56DF #D7DF56
analogous
#5692DF #5E56DF #A356DF
triadic
#5E56DF #DF5E56 #56DF5E
tetradic
#5E56DF #DF5692 #D7DF56 #56DFA3
square
#5E56DF #DF5692 #D7DF56 #56DFA3
split-complementary
#5E56DF #DFA356 #92DF56
monochromatic
#251E9D #3127D0 #5E56DF #8F89E9 #C0BDF2

Accessibility & contrast

On white

5.42
#5E56DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5E56DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E56DF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E56DF#FFFFFF#000000##FFFFFF
##5E56DF1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#057892
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e56df;
/* rgb */ color: rgb(94, 86, 223);
/* oklch */ color: oklch(54.1% 0.202 279.9);
Tailwind
colors: {
  custom: {
    50: '#9786ea',
    500: '#5e56df',
    950: '#000000',
  },
}
SCSS
$custom: #5e56df;
$custom-light: #9786ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5e56df",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 243.504,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5409,
    "c": 0.20151,
    "h": 279.9
  },
  "luminance": 0.14363
}

Semantic roles & 50–950 ramp

primary
#5E56DF
secondary
#DFE2AE
accent
#D015C5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5E56DF

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

Preview Lab → · Contrast checker → · Palette generator →

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