#5E56D2#5E56D2

#5E56D2 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.1% C 0.185 H 281.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5E56D2
RGBrgb(94, 86, 210)
HSLhsl(244, 58%, 58%)
HSVhsv(244, 59%, 82%)
CMYKcmyk(55.2%, 59%, 0%, 17.6%)
CIE-LABlab(43.78, 37.59, -63.21)
CIE-LCHlch(43.78, 73.54, 300.74°)
OKLaboklab(53.08% 0.0351 -0.1813)
OKLCHoklch(53.08% 0.185 281)
XYZxyz(19.5731, 13.6872, 62.5708)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E56D2 #CAD256
analogous
#568CD2 #5E56D2 #9C56D2
triadic
#5E56D2 #D25E56 #56D25E
tetradic
#5E56D2 #D2568C #CAD256 #56D29C
square
#5E56D2 #D2568C #CAD256 #56D29C
split-complementary
#5E56D2 #D29C56 #8CD256
monochromatic
#2B2589 #3A31B9 #5E56D2 #8C86DF #BAB7EC

Accessibility & contrast

On white

5.62
#5E56D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5E56D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E56D2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E56D2#FFFFFF#000000##FFFFFF
##5E56D21.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#25738C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e56d2;
/* rgb */ color: rgb(94, 86, 210);
/* oklch */ color: oklch(53.1% 0.185 281.0);
Tailwind
colors: {
  custom: {
    50: '#9586e1',
    500: '#5e56d2',
    950: '#000000',
  },
}
SCSS
$custom: #5e56d2;
$custom-light: #9586e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e56d2",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 243.871,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.18468,
    "h": 281
  },
  "luminance": 0.13688
}

Semantic roles & 50–950 ramp

primary
#5E56D2
secondary
#D7DBA9
accent
#E147D7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E56D2

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

Preview Lab → · Contrast checker → · Palette generator →

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