#5855E8#5855E8

#5855E8 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.2% C 0.215 H 277.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5855E8
RGBrgb(88, 85, 232)
HSLhsl(241, 76%, 62%)
HSVhsv(241, 63%, 91%)
CMYKcmyk(62.1%, 63.4%, 0%, 9%)
CIE-LABlab(44.80, 44.17, -74.10)
CIE-LCHlch(44.80, 86.27, 300.80°)
OKLaboklab(54.24% 0.0275 -0.2135)
OKLCHoklch(54.24% 0.215 277.3)
XYZxyz(21.8338, 14.3962, 77.9564)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855E8 #E5E855
analogous
#559CE8 #5855E8 #A155E8
triadic
#5855E8 #E85855 #55E858
tetradic
#5855E8 #E8559C #E5E855 #55E8A1
square
#5855E8 #E8559C #E5E855 #55E8A1
split-complementary
#5855E8 #E8A155 #9CE855
monochromatic
#1A17AB #231FE1 #5855E8 #8D8BEF #C2C1F7

Accessibility & contrast

On white

5.41
#5855E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5855E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855E8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855E8#FFFFFF#000000##FFFFFF
##5855E81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5855e8;
/* rgb */ color: rgb(88, 85, 232);
/* oklch */ color: oklch(54.2% 0.215 277.3);
Tailwind
colors: {
  custom: {
    50: '#9685f0',
    500: '#5855e8',
    950: '#000000',
  },
}
SCSS
$custom: #5855e8;
$custom-light: #9685f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5855e8",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 232
  },
  "hsl": {
    "h": 241.224,
    "s": 76.166,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54235,
    "c": 0.21527,
    "h": 277.3
  },
  "luminance": 0.14398
}

Semantic roles & 50–950 ramp

primary
#5855E8
secondary
#E6E7B1
accent
#D80DD4
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5855E8

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

Preview Lab → · Contrast checker → · Palette generator →

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