#5E56EA#5E56EA

#5E56EA is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.0% C 0.215 H 279.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5E56EA
RGBrgb(94, 86, 234)
HSLhsl(243, 78%, 63%)
HSVhsv(243, 63%, 92%)
CMYKcmyk(59.8%, 63.2%, 0%, 8.2%)
CIE-LABlab(45.60, 45.12, -73.90)
CIE-LCHlch(45.60, 86.58, 301.40°)
OKLaboklab(54.98% 0.0337 -0.2127)
OKLCHoklch(54.98% 0.215 279)
XYZxyz(22.7904, 14.9741, 79.5153)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E56EA #E2EA56
analogous
#5698EA #5E56EA #A856EA
triadic
#5E56EA #EA5E56 #56EA5E
tetradic
#5E56EA #EA5698 #E2EA56 #56EAA8
square
#5E56EA #EA5698 #E2EA56 #56EAA8
split-complementary
#5E56EA #EAA856 #98EA56
monochromatic
#1E16B0 #2A20E3 #5E56EA #928CF1 #C6C3F8

Accessibility & contrast

On white

5.26
#5E56EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5E56EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E56EA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E56EA#FFFFFF#000000##FFFFFF
##5E56EA1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0066E7
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5e56ea;
/* rgb */ color: rgb(94, 86, 234);
/* oklch */ color: oklch(55.0% 0.215 279.0);
Tailwind
colors: {
  custom: {
    50: '#9986f2',
    500: '#5e56ea',
    950: '#000000',
  },
}
SCSS
$custom: #5e56ea;
$custom-light: #9986f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e56ea",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 243.243,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54978,
    "c": 0.21541,
    "h": 279
  },
  "luminance": 0.14976
}

Semantic roles & 50–950 ramp

primary
#5E56EA
secondary
#E6E9B3
accent
#DA0BCF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E56EA

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

Preview Lab → · Contrast checker → · Palette generator →

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