#5E56ED#5E56ED

#5E56ED is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.2% C 0.219 H 278.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5E56ED
RGBrgb(94, 86, 237)
HSLhsl(243, 81%, 63%)
HSVhsv(243, 64%, 93%)
CMYKcmyk(60.3%, 63.7%, 0%, 7.1%)
CIE-LABlab(45.84, 46.06, -75.20)
CIE-LCHlch(45.84, 88.19, 301.48°)
OKLaboklab(55.22% 0.0335 -0.2166)
OKLCHoklch(55.22% 0.219 278.8)
XYZxyz(23.2251, 15.1479, 81.8043)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E56ED #E5ED56
analogous
#5699ED #5E56ED #A956ED
triadic
#5E56ED #ED5E56 #56ED5E
tetradic
#5E56ED #ED5699 #E5ED56 #56EDA9
square
#5E56ED #ED5699 #E5ED56 #56EDA9
split-complementary
#5E56ED #EDA956 #99ED56
monochromatic
#1C13B5 #291FE7 #5E56ED #938DF3 #C7C5F9

Accessibility & contrast

On white

5.21
#5E56ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5E56ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E56ED
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E56ED#FFFFFF#000000##FFFFFF
##5E56ED1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F2
Deuteranopia (green-blind)
#0066EA
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e56ed;
/* rgb */ color: rgb(94, 86, 237);
/* oklch */ color: oklch(55.2% 0.219 278.8);
Tailwind
colors: {
  custom: {
    50: '#9a86f4',
    500: '#5e56ed',
    950: '#000000',
  },
}
SCSS
$custom: #5e56ed;
$custom-light: #9a86f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e56ed",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 243.179,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55224,
    "c": 0.21914,
    "h": 278.8
  },
  "luminance": 0.1515
}

Semantic roles & 50–950 ramp

primary
#5E56ED
secondary
#E7EAB4
accent
#DD08D2
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E56ED

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

Preview Lab → · Contrast checker → · Palette generator →

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