#5856FF#5856FF

#5856FF is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.4% C 0.242 H 275.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5856FF
RGBrgb(88, 86, 255)
HSLhsl(241, 100%, 67%)
HSVhsv(241, 66%, 100%)
CMYKcmyk(65.5%, 66.3%, 0%, 0%)
CIE-LABlab(46.91, 50.90, -83.54)
CIE-LCHlch(46.91, 97.82, 301.35°)
OKLaboklab(56.35% 0.0246 -0.2412)
OKLCHoklch(56.35% 0.242 275.8)
XYZxyz(25.3964, 15.9481, 96.3283)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5856FF #FDFF56
analogous
#56A9FF #5856FF #AD56FF
triadic
#5856FF #FF5856 #56FF58
tetradic
#5856FF #FF56A9 #FDFF56 #56FFAD
square
#5856FF #FF56A9 #FDFF56 #56FFAD
split-complementary
#5856FF #FFAD56 #A9FF56
monochromatic
#0300DB #1C19FF #5856FF #9493FF #D1D0FF

Accessibility & contrast

On white

5.01
#5856FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5856FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5856FF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5856FF#FFFFFF#000000##FFFFFF
##5856FF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0068FC
Tritanopia (blue-blind)
#0083A3
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5856ff;
/* rgb */ color: rgb(88, 86, 255);
/* oklch */ color: oklch(56.4% 0.242 275.8);
Tailwind
colors: {
  custom: {
    50: '#9a87ff',
    500: '#5856ff',
    950: '#000000',
  },
}
SCSS
$custom: #5856ff;
$custom-light: #9a87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5856ff",
  "rgb": {
    "r": 88,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 240.71,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.56351,
    "c": 0.24241,
    "h": 275.8
  },
  "luminance": 0.1595
}

Semantic roles & 50–950 ramp

primary
#5856FF
secondary
#F3F3BD
accent
#E600E3
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5856FF

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

Preview Lab → · Contrast checker → · Palette generator →

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