#5856BB#5856BB

#5856BB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.9% C 0.155 H 280.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5856BB
RGBrgb(88, 86, 187)
HSLhsl(241, 43%, 54%)
HSVhsv(241, 54%, 73%)
CMYKcmyk(52.9%, 54%, 0%, 26.7%)
CIE-LABlab(41.72, 29.13, -53.25)
CIE-LCHlch(41.72, 60.70, 298.68°)
OKLaboklab(50.92% 0.0276 -0.1522)
OKLCHoklch(50.92% 0.155 280.3)
XYZxyz(16.3192, 12.3172, 48.5216)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5856BB #B9BB56
analogous
#5686BB #5856BB #8A56BB
triadic
#5856BB #BB5856 #56BB58
tetradic
#5856BB #BB5686 #B9BB56 #56BB8A
square
#5856BB #BB5686 #B9BB56 #56BB8A
split-complementary
#5856BB #BB8A56 #86BB56
monochromatic
#2C2B6B #3F3D97 #5856BB #8382CD #AEADDE

Accessibility & contrast

On white

6.06
#5856BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5856BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5856BB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5856BB#FFFFFF#000000##FFFFFF
##5856BB1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BE
Deuteranopia (green-blind)
#095FB9
Tritanopia (blue-blind)
#2D6D80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5856bb;
/* rgb */ color: rgb(88, 86, 187);
/* oklch */ color: oklch(50.9% 0.155 280.3);
Tailwind
colors: {
  custom: {
    50: '#8f85d0',
    500: '#5856bb',
    950: '#000000',
  },
}
SCSS
$custom: #5856bb;
$custom-light: #8f85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5856bb",
  "rgb": {
    "r": 88,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 241.188,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5092,
    "c": 0.15469,
    "h": 280.3
  },
  "luminance": 0.12318
}

Semantic roles & 50–950 ramp

primary
#5856BB
secondary
#CBCCA1
accent
#D255D0
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5856BB

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

Preview Lab → · Contrast checker → · Palette generator →

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