#5856E7#5856E7

#5856E7 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.3% C 0.213 H 277.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5856E7
RGBrgb(88, 86, 231)
HSLhsl(241, 75%, 62%)
HSVhsv(241, 63%, 91%)
CMYKcmyk(61.9%, 62.8%, 0%, 9.4%)
CIE-LABlab(44.94, 43.26, -73.30)
CIE-LCHlch(44.94, 85.11, 300.55°)
OKLaboklab(54.31% 0.0268 -0.2111)
OKLCHoklch(54.31% 0.213 277.2)
XYZxyz(21.7714, 14.4981, 77.2369)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5856E7 #E5E756
analogous
#569CE7 #5856E7 #A156E7
triadic
#5856E7 #E75856 #56E758
tetradic
#5856E7 #E7569C #E5E756 #56E7A1
square
#5856E7 #E7569C #E5E756 #56E7A1
split-complementary
#5856E7 #E7A156 #9CE756
monochromatic
#1A18AA #2320DF #5856E7 #8D8CEF #C2C1F6

Accessibility & contrast

On white

5.38
#5856E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5856E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5856E7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5856E7#FFFFFF#000000##FFFFFF
##5856E71.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0064E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5856e7;
/* rgb */ color: rgb(88, 86, 231);
/* oklch */ color: oklch(54.3% 0.213 277.2);
Tailwind
colors: {
  custom: {
    50: '#9686f0',
    500: '#5856e7',
    950: '#000000',
  },
}
SCSS
$custom: #5856e7;
$custom-light: #9686f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5856e7",
  "rgb": {
    "r": 88,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 240.828,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54314,
    "c": 0.21284,
    "h": 277.2
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#5856E7
secondary
#E6E7B2
accent
#D70ED5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5856E7

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

Preview Lab → · Contrast checker → · Palette generator →

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