#5855E4#5855E4

#5855E4 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.9% C 0.210 H 277.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5855E4
RGBrgb(88, 85, 228)
HSLhsl(241, 73%, 61%)
HSVhsv(241, 63%, 89%)
CMYKcmyk(61.4%, 62.7%, 0%, 10.6%)
CIE-LABlab(44.48, 42.89, -72.36)
CIE-LCHlch(44.48, 84.11, 300.66°)
OKLaboklab(53.9% 0.0278 -0.2084)
OKLCHoklch(53.9% 0.21 277.6)
XYZxyz(21.2721, 14.1715, 74.9981)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855E4 #E1E455
analogous
#559AE4 #5855E4 #A055E4
triadic
#5855E4 #E45855 #55E458
tetradic
#5855E4 #E4559A #E1E455 #55E4A0
square
#5855E4 #E4559A #E1E455 #55E4A0
split-complementary
#5855E4 #E4A055 #9AE455
monochromatic
#1D1AA4 #2623D9 #5855E4 #8C8AEC #C0BFF5

Accessibility & contrast

On white

5.48
#5855E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5855E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855E4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855E4#FFFFFF#000000##FFFFFF
##5855E41.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0063E1
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5855e4;
/* rgb */ color: rgb(88, 85, 228);
/* oklch */ color: oklch(53.9% 0.210 277.6);
Tailwind
colors: {
  custom: {
    50: '#9585ee',
    500: '#5855e4',
    950: '#000000',
  },
}
SCSS
$custom: #5855e4;
$custom-light: #9585ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5855e4",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 241.259,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53904,
    "c": 0.21023,
    "h": 277.6
  },
  "luminance": 0.14173
}

Semantic roles & 50–950 ramp

primary
#5855E4
secondary
#E4E5B0
accent
#D511D1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5855E4

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

Preview Lab → · Contrast checker → · Palette generator →

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