#5856C8#5856C8

#5856C8 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.172 H 279.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5856C8
RGBrgb(88, 86, 200)
HSLhsl(241, 51%, 56%)
HSVhsv(241, 57%, 78%)
CMYKcmyk(56%, 57%, 0%, 21.6%)
CIE-LABlab(42.61, 33.29, -59.36)
CIE-LCHlch(42.61, 68.06, 299.29°)
OKLaboklab(51.87% 0.0279 -0.1702)
OKLCHoklch(51.87% 0.172 279.3)
XYZxyz(17.7743, 12.8992, 56.1856)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5856C8 #C6C856
analogous
#568DC8 #5856C8 #9156C8
triadic
#5856C8 #C85856 #56C858
tetradic
#5856C8 #C8568D #C6C856 #56C891
square
#5856C8 #C8568D #C6C856 #56C891
split-complementary
#5856C8 #C89156 #8DC856
monochromatic
#2A287B #3937AA #5856C8 #8684D7 #B3B2E6

Accessibility & contrast

On white

5.87
#5856C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5856C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5856C8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5856C8#FFFFFF#000000##FFFFFF
##5856C81.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#1D7186
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5856c8;
/* rgb */ color: rgb(88, 86, 200);
/* oklch */ color: oklch(51.9% 0.172 279.3);
Tailwind
colors: {
  custom: {
    50: '#9186d9',
    500: '#5856c8',
    950: '#000000',
  },
}
SCSS
$custom: #5856c8;
$custom-light: #9186d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5856c8",
  "rgb": {
    "r": 88,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 241.053,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51871,
    "c": 0.17246,
    "h": 279.3
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#5856C8
secondary
#D4D4A5
accent
#DA4DD8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5856C8

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

Preview Lab → · Contrast checker → · Palette generator →

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