#5856E9#5856E9

#5856E9 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.215 H 277.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5856E9
RGBrgb(88, 86, 233)
HSLhsl(241, 77%, 63%)
HSVhsv(241, 63%, 91%)
CMYKcmyk(62.2%, 63.1%, 0%, 8.6%)
CIE-LABlab(45.10, 43.90, -74.17)
CIE-LCHlch(45.10, 86.19, 300.62°)
OKLaboklab(54.48% 0.0267 -0.2137)
OKLCHoklch(54.48% 0.215 277.1)
XYZxyz(22.0555, 14.6117, 78.7331)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5856E9 #E7E956
analogous
#569EE9 #5856E9 #A156E9
triadic
#5856E9 #E95856 #56E958
tetradic
#5856E9 #E9569E #E7E956 #56E9A1
square
#5856E9 #E9569E #E7E956 #56E9A1
split-complementary
#5856E9 #E9A156 #9EE956
monochromatic
#1917AE #2220E2 #5856E9 #8E8CF0 #C3C2F7

Accessibility & contrast

On white

5.35
#5856E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5856E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5856E9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5856E9#FFFFFF#000000##FFFFFF
##5856E91.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#0064E6
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5856e9;
/* rgb */ color: rgb(88, 86, 233);
/* oklch */ color: oklch(54.5% 0.215 277.1);
Tailwind
colors: {
  custom: {
    50: '#9686f1',
    500: '#5856e9',
    950: '#000000',
  },
}
SCSS
$custom: #5856e9;
$custom-light: #9686f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5856e9",
  "rgb": {
    "r": 88,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 240.816,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5448,
    "c": 0.21537,
    "h": 277.1
  },
  "luminance": 0.14613
}

Semantic roles & 50–950 ramp

primary
#5856E9
secondary
#E7E8B3
accent
#D90CD6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5856E9

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

Preview Lab → · Contrast checker → · Palette generator →

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