#5856E2#5856E2

#5856E2 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.9% C 0.207 H 277.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5856E2
RGBrgb(88, 86, 226)
HSLhsl(241, 71%, 61%)
HSVhsv(241, 62%, 89%)
CMYKcmyk(61.1%, 61.9%, 0%, 11.4%)
CIE-LABlab(44.55, 41.66, -71.11)
CIE-LCHlch(44.55, 82.41, 300.36°)
OKLaboklab(53.91% 0.0271 -0.2047)
OKLCHoklch(53.91% 0.207 277.5)
XYZxyz(21.0753, 14.2196, 73.5708)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5856E2 #E0E256
analogous
#569AE2 #5856E2 #9E56E2
triadic
#5856E2 #E25856 #56E258
tetradic
#5856E2 #E2569A #E0E256 #56E29E
square
#5856E2 #E2569A #E0E256 #56E29E
split-complementary
#5856E2 #E29E56 #9AE256
monochromatic
#1E1CA2 #2725D6 #5856E2 #8C8AEB #BFBEF4

Accessibility & contrast

On white

5.46
#5856E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5856E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5856E2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5856E2#FFFFFF#000000##FFFFFF
##5856E21.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5856e2;
/* rgb */ color: rgb(88, 86, 226);
/* oklch */ color: oklch(53.9% 0.207 277.5);
Tailwind
colors: {
  custom: {
    50: '#9586ec',
    500: '#5856e2',
    950: '#000000',
  },
}
SCSS
$custom: #5856e2;
$custom-light: #9586ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5856e2",
  "rgb": {
    "r": 88,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 240.857,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.53905,
    "c": 0.20651,
    "h": 277.5
  },
  "luminance": 0.14221
}

Semantic roles & 50–950 ramp

primary
#5856E2
secondary
#E3E4B0
accent
#D313D0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5856E2

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

Preview Lab → · Contrast checker → · Palette generator →

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