#5856ED#5856ED

#5856ED is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.8% C 0.220 H 276.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5856ED
RGBrgb(88, 86, 237)
HSLhsl(241, 81%, 63%)
HSVhsv(241, 64%, 93%)
CMYKcmyk(62.9%, 63.7%, 0%, 7.1%)
CIE-LABlab(45.42, 45.18, -75.90)
CIE-LCHlch(45.42, 88.33, 300.76°)
OKLaboklab(54.81% 0.0263 -0.2188)
OKLCHoklch(54.81% 0.22 276.9)
XYZxyz(22.6334, 14.8429, 81.7766)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5856ED #EBED56
analogous
#569FED #5856ED #A356ED
triadic
#5856ED #ED5856 #56ED58
tetradic
#5856ED #ED569F #EBED56 #56EDA3
square
#5856ED #ED569F #EBED56 #56EDA3
split-complementary
#5856ED #EDA356 #9FED56
monochromatic
#1513B5 #211FE7 #5856ED #8F8DF3 #C5C5F9

Accessibility & contrast

On white

5.29
#5856ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5856ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5856ED
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5856ED#FFFFFF#000000##FFFFFF
##5856ED1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5856ed;
/* rgb */ color: rgb(88, 86, 237);
/* oklch */ color: oklch(54.8% 0.220 276.9);
Tailwind
colors: {
  custom: {
    50: '#9786f4',
    500: '#5856ed',
    950: '#000000',
  },
}
SCSS
$custom: #5856ed;
$custom-light: #9786f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5856ed",
  "rgb": {
    "r": 88,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 240.795,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54813,
    "c": 0.22037,
    "h": 276.9
  },
  "luminance": 0.14845
}

Semantic roles & 50–950 ramp

primary
#5856ED
secondary
#EAEAB4
accent
#DD08DA
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5856ED

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

Preview Lab → · Contrast checker → · Palette generator →

#5856ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva