#5856EF#5856EF

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

Color values

HEX#5856EF
RGBrgb(88, 86, 239)
HSLhsl(241, 83%, 64%)
HSVhsv(241, 64%, 94%)
CMYKcmyk(63.2%, 64%, 0%, 6.3%)
CIE-LABlab(45.58, 45.82, -76.76)
CIE-LCHlch(45.58, 89.40, 300.83°)
OKLaboklab(54.98% 0.0262 -0.2213)
OKLCHoklch(54.98% 0.223 276.7)
XYZxyz(22.9272, 14.9604, 83.3240)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5856EF #EDEF56
analogous
#56A0EF #5856EF #A456EF
triadic
#5856EF #EF5856 #56EF58
tetradic
#5856EF #EF56A0 #EDEF56 #56EFA4
square
#5856EF #EF56A0 #EDEF56 #56EFA4
split-complementary
#5856EF #EFA456 #A0EF56
monochromatic
#1412B9 #211EEA #5856EF #8F8EF4 #C6C6FA

Accessibility & contrast

On white

5.26
#5856EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5856EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5856EF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5856EF#FFFFFF#000000##FFFFFF
##5856EF1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0065EC
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5856ef;
/* rgb */ color: rgb(88, 86, 239);
/* oklch */ color: oklch(55.0% 0.223 276.7);
Tailwind
colors: {
  custom: {
    50: '#9786f5',
    500: '#5856ef',
    950: '#000000',
  },
}
SCSS
$custom: #5856ef;
$custom-light: #9786f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5856ef",
  "rgb": {
    "r": 88,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 240.784,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.54981,
    "c": 0.22285,
    "h": 276.7
  },
  "luminance": 0.14962
}

Semantic roles & 50–950 ramp

primary
#5856EF
secondary
#EBEBB5
accent
#DF06DC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5856EF

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

Preview Lab → · Contrast checker → · Palette generator →

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