#5B56ED#5B56ED

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

Color values

HEX#5B56ED
RGBrgb(91, 86, 237)
HSLhsl(242, 81%, 63%)
HSVhsv(242, 64%, 93%)
CMYKcmyk(61.6%, 63.7%, 0%, 7.1%)
CIE-LABlab(45.62, 45.61, -75.56)
CIE-LCHlch(45.62, 88.26, 301.12°)
OKLaboklab(55.02% 0.0299 -0.2177)
OKLCHoklch(55.02% 0.22 277.8)
XYZxyz(22.9233, 14.9923, 81.7902)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B56ED #E8ED56
analogous
#569CED #5B56ED #A656ED
triadic
#5B56ED #ED5B56 #56ED5B
tetradic
#5B56ED #ED569C #E8ED56 #56EDA6
square
#5B56ED #ED569C #E8ED56 #56EDA6
split-complementary
#5B56ED #EDA656 #9CED56
monochromatic
#1913B5 #251FE7 #5B56ED #918DF3 #C6C5F9

Accessibility & contrast

On white

5.25
#5B56ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B56ED
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B56ED#FFFFFF#000000##FFFFFF
##5B56ED1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#0066EA
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b56ed;
/* rgb */ color: rgb(91, 86, 237);
/* oklch */ color: oklch(55.0% 0.220 277.8);
Tailwind
colors: {
  custom: {
    50: '#9886f4',
    500: '#5b56ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b56ed;
$custom-light: #9886f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b56ed",
  "rgb": {
    "r": 91,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 241.987,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55015,
    "c": 0.21974,
    "h": 277.8
  },
  "luminance": 0.14994
}

Semantic roles & 50–950 ramp

primary
#5B56ED
secondary
#E9EAB4
accent
#DD08D6
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B56ED

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

Preview Lab → · Contrast checker → · Palette generator →

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