#5856EA#5856EA

#5856EA is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.6% C 0.217 H 277.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5856EA
RGBrgb(88, 86, 234)
HSLhsl(241, 78%, 63%)
HSVhsv(241, 63%, 92%)
CMYKcmyk(62.4%, 63.2%, 0%, 8.2%)
CIE-LABlab(45.18, 44.22, -74.61)
CIE-LCHlch(45.18, 86.73, 300.66°)
OKLaboklab(54.56% 0.0266 -0.215)
OKLCHoklch(54.56% 0.217 277)
XYZxyz(22.1988, 14.6690, 79.4875)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5856EA #E8EA56
analogous
#569EEA #5856EA #A256EA
triadic
#5856EA #EA5856 #56EA58
tetradic
#5856EA #EA569E #E8EA56 #56EAA2
square
#5856EA #EA569E #E8EA56 #56EAA2
split-complementary
#5856EA #EAA256 #9EEA56
monochromatic
#1816B0 #2220E3 #5856EA #8E8CF1 #C4C3F8

Accessibility & contrast

On white

5.34
#5856EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5856EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5856EA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5856EA#FFFFFF#000000##FFFFFF
##5856EA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#0065E7
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5856ea;
/* rgb */ color: rgb(88, 86, 234);
/* oklch */ color: oklch(54.6% 0.217 277.0);
Tailwind
colors: {
  custom: {
    50: '#9686f2',
    500: '#5856ea',
    950: '#000000',
  },
}
SCSS
$custom: #5856ea;
$custom-light: #9686f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5856ea",
  "rgb": {
    "r": 88,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 240.811,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54563,
    "c": 0.21662,
    "h": 277
  },
  "luminance": 0.14671
}

Semantic roles & 50–950 ramp

primary
#5856EA
secondary
#E8E9B3
accent
#DA0BD7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5856EA

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

Preview Lab → · Contrast checker → · Palette generator →

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