#5856CC#5856CC

#5856CC is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.178 H 279.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5856CC
RGBrgb(88, 86, 204)
HSLhsl(241, 54%, 57%)
HSVhsv(241, 58%, 80%)
CMYKcmyk(56.9%, 57.8%, 0%, 20%)
CIE-LABlab(42.90, 34.58, -61.21)
CIE-LCHlch(42.90, 70.30, 299.46°)
OKLaboklab(52.17% 0.0279 -0.1756)
OKLCHoklch(52.17% 0.178 279)
XYZxyz(18.2479, 13.0887, 58.6798)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5856CC #CACC56
analogous
#568FCC #5856CC #9356CC
triadic
#5856CC #CC5856 #56CC58
tetradic
#5856CC #CC568F #CACC56 #56CC93
square
#5856CC #CC568F #CACC56 #56CC93
split-complementary
#5856CC #CC9356 #8FCC56
monochromatic
#282781 #3735B0 #5856CC #8685DA #B5B4E8

Accessibility & contrast

On white

5.80
#5856CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5856CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5856CC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5856CC#FFFFFF#000000##FFFFFF
##5856CC1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#157289
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5856cc;
/* rgb */ color: rgb(88, 86, 204);
/* oklch */ color: oklch(52.2% 0.178 279.0);
Tailwind
colors: {
  custom: {
    50: '#9186dc',
    500: '#5856cc',
    950: '#000000',
  },
}
SCSS
$custom: #5856cc;
$custom-light: #9186dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5856cc",
  "rgb": {
    "r": 88,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 241.017,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52173,
    "c": 0.17782,
    "h": 279
  },
  "luminance": 0.1309
}

Semantic roles & 50–950 ramp

primary
#5856CC
secondary
#D6D7A7
accent
#DD4BDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5856CC

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

Preview Lab → · Contrast checker → · Palette generator →

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