#5856DC#5856DC

#5856DC is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.4% C 0.199 H 277.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5856DC
RGBrgb(88, 86, 220)
HSLhsl(241, 66%, 60%)
HSVhsv(241, 61%, 86%)
CMYKcmyk(60%, 60.9%, 0%, 13.7%)
CIE-LABlab(44.08, 39.73, -68.45)
CIE-LCHlch(44.08, 79.15, 300.13°)
OKLaboklab(53.42% 0.0275 -0.1969)
OKLCHoklch(53.42% 0.199 277.9)
XYZxyz(20.2664, 13.8961, 69.3105)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5856DC #DADC56
analogous
#5697DC #5856DC #9B56DC
triadic
#5856DC #DC5856 #56DC58
tetradic
#5856DC #DC5697 #DADC56 #56DC9B
square
#5856DC #DC5697 #DADC56 #56DC9B
split-complementary
#5856DC #DC9B56 #97DC56
monochromatic
#212098 #2C2ACB #5856DC #8A89E6 #BCBBF1

Accessibility & contrast

On white

5.56
#5856DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5856DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5856DC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5856DC#FFFFFF#000000##FFFFFF
##5856DC1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5856dc;
/* rgb */ color: rgb(88, 86, 220);
/* oklch */ color: oklch(53.4% 0.199 277.9);
Tailwind
colors: {
  custom: {
    50: '#9486e8',
    500: '#5856dc',
    950: '#000000',
  },
}
SCSS
$custom: #5856dc;
$custom-light: #9486e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5856dc",
  "rgb": {
    "r": 88,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 240.896,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.53421,
    "c": 0.19881,
    "h": 277.9
  },
  "luminance": 0.13898
}

Semantic roles & 50–950 ramp

primary
#5856DC
secondary
#E0E1AD
accent
#E93FE6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5856DC

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

Preview Lab → · Contrast checker → · Palette generator →

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