#5856AE#5856AE

#5856AE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.0% C 0.136 H 281.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5856AE
RGBrgb(88, 86, 174)
HSLhsl(241, 35%, 51%)
HSVhsv(241, 51%, 68%)
CMYKcmyk(49.4%, 50.6%, 0%, 31.8%)
CIE-LABlab(40.87, 25.00, -46.98)
CIE-LCHlch(40.87, 53.21, 298.02°)
OKLaboklab(50.02% 0.0267 -0.1337)
OKLCHoklch(50.02% 0.136 281.3)
XYZxyz(14.9900, 11.7855, 41.5212)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5856AE #ACAE56
analogous
#5680AE #5856AE #8456AE
triadic
#5856AE #AE5856 #56AE58
tetradic
#5856AE #AE5680 #ACAE56 #56AE84
square
#5856AE #AE5680 #ACAE56 #56AE84
split-complementary
#5856AE #AE8456 #80AE56
monochromatic
#2E2D5D #424086 #5856AE #817FC2 #AAA9D6

Accessibility & contrast

On white

6.26
#5856AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5856AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5856AE
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5856AE#FFFFFF#000000##FFFFFF
##5856AE1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B1
Deuteranopia (green-blind)
#265DAC
Tritanopia (blue-blind)
#38697A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5856ae;
/* rgb */ color: rgb(88, 86, 174);
/* oklch */ color: oklch(50.0% 0.136 281.3);
Tailwind
colors: {
  custom: {
    50: '#8d85c7',
    500: '#5856ae',
    950: '#000000',
  },
}
SCSS
$custom: #5856ae;
$custom-light: #8d85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5856ae",
  "rgb": {
    "r": 88,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 241.364,
    "s": 35.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50018,
    "c": 0.13639,
    "h": 281.3
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#5856AE
secondary
#C3C39C
accent
#CB5DC9
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5856AE

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

Preview Lab → · Contrast checker → · Palette generator →

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