#5855FF#5855FF

#5855FF is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.2% C 0.243 H 275.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5855FF
RGBrgb(88, 85, 255)
HSLhsl(241, 100%, 67%)
HSVhsv(241, 67%, 100%)
CMYKcmyk(65.5%, 66.7%, 0%, 0%)
CIE-LABlab(46.70, 51.46, -83.88)
CIE-LCHlch(46.70, 98.41, 301.53°)
OKLaboklab(56.2% 0.0252 -0.2422)
OKLCHoklch(56.2% 0.243 275.9)
XYZxyz(25.3171, 15.7895, 96.3018)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855FF #FCFF55
analogous
#55A7FF #5855FF #AD55FF
triadic
#5855FF #FF5855 #55FF58
tetradic
#5855FF #FF55A7 #FCFF55 #55FFAD
square
#5855FF #FF55A7 #FCFF55 #55FFAD
split-complementary
#5855FF #FFAD55 #A7FF55
monochromatic
#0400DA #1C18FF #5855FF #9492FF #D0CFFF

Accessibility & contrast

On white

5.05
#5855FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5855FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855FF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855FF#FFFFFF#000000##FFFFFF
##5855FF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0067FC
Tritanopia (blue-blind)
#0082A3
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5855ff;
/* rgb */ color: rgb(88, 85, 255);
/* oklch */ color: oklch(56.2% 0.243 275.9);
Tailwind
colors: {
  custom: {
    50: '#9a86ff',
    500: '#5855ff',
    950: '#000000',
  },
}
SCSS
$custom: #5855ff;
$custom-light: #9a86ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5855ff",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 255
  },
  "hsl": {
    "h": 241.059,
    "s": 100,
    "l": 66.667
  },
  "oklch": {
    "l": 0.562,
    "c": 0.24348,
    "h": 275.9
  },
  "luminance": 0.15792
}

Semantic roles & 50–950 ramp

primary
#5855FF
secondary
#F2F3BD
accent
#E600E1
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5855FF

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

Preview Lab → · Contrast checker → · Palette generator →

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