#5855E9#5855E9

#5855E9 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.3% C 0.217 H 277.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5855E9
RGBrgb(88, 85, 233)
HSLhsl(241, 77%, 62%)
HSVhsv(241, 64%, 91%)
CMYKcmyk(62.2%, 63.5%, 0%, 8.6%)
CIE-LABlab(44.88, 44.49, -74.53)
CIE-LCHlch(44.88, 86.80, 300.83°)
OKLaboklab(54.32% 0.0275 -0.2148)
OKLCHoklch(54.32% 0.217 277.3)
XYZxyz(21.9762, 14.4531, 78.7066)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855E9 #E6E955
analogous
#559CE9 #5855E9 #A255E9
triadic
#5855E9 #E95855 #55E958
tetradic
#5855E9 #E9559C #E6E955 #55E9A2
square
#5855E9 #E9559C #E6E955 #55E9A2
split-complementary
#5855E9 #E9A255 #9CE955
monochromatic
#1916AD #231FE2 #5855E9 #8D8BF0 #C2C1F7

Accessibility & contrast

On white

5.40
#5855E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5855E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855E9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855E9#FFFFFF#000000##FFFFFF
##5855E91.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EE
Deuteranopia (green-blind)
#0064E6
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5855e9;
/* rgb */ color: rgb(88, 85, 233);
/* oklch */ color: oklch(54.3% 0.217 277.3);
Tailwind
colors: {
  custom: {
    50: '#9685f1',
    500: '#5855e9',
    950: '#000000',
  },
}
SCSS
$custom: #5855e9;
$custom-light: #9685f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5855e9",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 233
  },
  "hsl": {
    "h": 241.216,
    "s": 77.083,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54318,
    "c": 0.21652,
    "h": 277.3
  },
  "luminance": 0.14455
}

Semantic roles & 50–950 ramp

primary
#5855E9
secondary
#E7E8B2
accent
#D90CD5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5855E9

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

Preview Lab → · Contrast checker → · Palette generator →

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