#5855EB#5855EB

#5855EB is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.219 H 277.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5855EB
RGBrgb(88, 85, 235)
HSLhsl(241, 79%, 63%)
HSVhsv(241, 64%, 92%)
CMYKcmyk(62.6%, 63.8%, 0%, 7.8%)
CIE-LABlab(45.04, 45.13, -75.40)
CIE-LCHlch(45.04, 87.87, 300.90°)
OKLaboklab(54.48% 0.0273 -0.2173)
OKLCHoklch(54.48% 0.219 277.2)
XYZxyz(22.2635, 14.5681, 80.2198)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855EB #E8EB55
analogous
#559DEB #5855EB #A355EB
triadic
#5855EB #EB5855 #55EB58
tetradic
#5855EB #EB559D #E8EB55 #55EBA3
square
#5855EB #EB559D #E8EB55 #55EBA3
split-complementary
#5855EB #EBA355 #9DEB55
monochromatic
#1815B1 #221EE5 #5855EB #8E8CF1 #C4C3F8

Accessibility & contrast

On white

5.37
#5855EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5855EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855EB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855EB#FFFFFF#000000##FFFFFF
##5855EB1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#0064E8
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5855eb;
/* rgb */ color: rgb(88, 85, 235);
/* oklch */ color: oklch(54.5% 0.219 277.2);
Tailwind
colors: {
  custom: {
    50: '#9685f3',
    500: '#5855eb',
    950: '#000000',
  },
}
SCSS
$custom: #5855eb;
$custom-light: #9685f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5855eb",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 235
  },
  "hsl": {
    "h": 241.2,
    "s": 78.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54485,
    "c": 0.21902,
    "h": 277.2
  },
  "luminance": 0.1457
}

Semantic roles & 50–950 ramp

primary
#5855EB
secondary
#E8E9B3
accent
#DB0AD7
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5855EB

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

Preview Lab → · Contrast checker → · Palette generator →

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