#5856E4#5856E4

#5856E4 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.1% C 0.209 H 277.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5856E4
RGBrgb(88, 86, 228)
HSLhsl(241, 72%, 62%)
HSVhsv(241, 62%, 89%)
CMYKcmyk(61.4%, 62.3%, 0%, 10.6%)
CIE-LABlab(44.70, 42.30, -71.99)
CIE-LCHlch(44.70, 83.50, 300.44°)
OKLaboklab(54.07% 0.027 -0.2073)
OKLCHoklch(54.07% 0.209 277.4)
XYZxyz(21.3514, 14.3300, 75.0246)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5856E4 #E2E456
analogous
#569BE4 #5856E4 #9F56E4
triadic
#5856E4 #E45856 #56E458
tetradic
#5856E4 #E4569B #E2E456 #56E49F
square
#5856E4 #E4569B #E2E456 #56E49F
split-complementary
#5856E4 #E49F56 #9BE456
monochromatic
#1C1AA5 #2523DA #5856E4 #8C8BEC #C0C0F5

Accessibility & contrast

On white

5.43
#5856E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5856E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5856E4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5856E4#FFFFFF#000000##FFFFFF
##5856E41.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5856e4;
/* rgb */ color: rgb(88, 86, 228);
/* oklch */ color: oklch(54.1% 0.209 277.4);
Tailwind
colors: {
  custom: {
    50: '#9586ee',
    500: '#5856e4',
    950: '#000000',
  },
}
SCSS
$custom: #5856e4;
$custom-light: #9586ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5856e4",
  "rgb": {
    "r": 88,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 240.845,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54068,
    "c": 0.20905,
    "h": 277.4
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

primary
#5856E4
secondary
#E5E5B0
accent
#D511D2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5856E4

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

Preview Lab → · Contrast checker → · Palette generator →

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