#5855EA#5855EA

#5855EA is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.4% C 0.218 H 277.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5855EA
RGBrgb(88, 85, 234)
HSLhsl(241, 78%, 63%)
HSVhsv(241, 64%, 92%)
CMYKcmyk(62.4%, 63.7%, 0%, 8.2%)
CIE-LABlab(44.96, 44.81, -74.97)
CIE-LCHlch(44.96, 87.34, 300.87°)
OKLaboklab(54.4% 0.0274 -0.216)
OKLCHoklch(54.4% 0.218 277.2)
XYZxyz(22.1195, 14.5104, 79.4611)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855EA #E7EA55
analogous
#559DEA #5855EA #A255EA
triadic
#5855EA #EA5855 #55EA58
tetradic
#5855EA #EA559D #E7EA55 #55EAA2
square
#5855EA #EA559D #E7EA55 #55EAA2
split-complementary
#5855EA #EAA255 #9DEA55
monochromatic
#1916AF #221FE3 #5855EA #8E8BF1 #C3C2F7

Accessibility & contrast

On white

5.38
#5855EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5855EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855EA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855EA#FFFFFF#000000##FFFFFF
##5855EA1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#0064E7
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5855ea;
/* rgb */ color: rgb(88, 85, 234);
/* oklch */ color: oklch(54.4% 0.218 277.2);
Tailwind
colors: {
  custom: {
    50: '#9685f2',
    500: '#5855ea',
    950: '#000000',
  },
}
SCSS
$custom: #5855ea;
$custom-light: #9685f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5855ea",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 234
  },
  "hsl": {
    "h": 241.208,
    "s": 78.01,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54401,
    "c": 0.21778,
    "h": 277.2
  },
  "luminance": 0.14512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5855EA

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

Preview Lab → · Contrast checker → · Palette generator →

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