#5B56EE#5B56EE

#5B56EE is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.1% C 0.221 H 277.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5B56EE
RGBrgb(91, 86, 238)
HSLhsl(242, 82%, 64%)
HSVhsv(242, 64%, 93%)
CMYKcmyk(61.8%, 63.9%, 0%, 6.7%)
CIE-LABlab(45.70, 45.93, -75.99)
CIE-LCHlch(45.70, 88.79, 301.15°)
OKLaboklab(55.1% 0.0298 -0.219)
OKLCHoklch(55.1% 0.221 277.7)
XYZxyz(23.0698, 15.0510, 82.5618)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B56EE #E9EE56
analogous
#569DEE #5B56EE #A756EE
triadic
#5B56EE #EE5B56 #56EE5B
tetradic
#5B56EE #EE569D #E9EE56 #56EEA7
square
#5B56EE #EE569D #E9EE56 #56EEA7
split-complementary
#5B56EE #EEA756 #9DEE56
monochromatic
#1812B7 #251EE8 #5B56EE #918EF4 #C7C5F9

Accessibility & contrast

On white

5.24
#5B56EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5B56EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B56EE
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B56EE#FFFFFF#000000##FFFFFF
##5B56EE1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#0066EB
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b56ee;
/* rgb */ color: rgb(91, 86, 238);
/* oklch */ color: oklch(55.1% 0.221 277.7);
Tailwind
colors: {
  custom: {
    50: '#9886f5',
    500: '#5b56ee',
    950: '#000000',
  },
}
SCSS
$custom: #5b56ee;
$custom-light: #9886f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b56ee",
  "rgb": {
    "r": 91,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 241.974,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55099,
    "c": 0.22098,
    "h": 277.7
  },
  "luminance": 0.15053
}

Semantic roles & 50–950 ramp

primary
#5B56EE
secondary
#E9EBB5
accent
#DE07D7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B56EE

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

Preview Lab → · Contrast checker → · Palette generator →

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