#5855CE#5855CE

#5855CE is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.1% C 0.182 H 279.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5855CE
RGBrgb(88, 85, 206)
HSLhsl(241, 55%, 57%)
HSVhsv(241, 59%, 81%)
CMYKcmyk(57.3%, 58.7%, 0%, 19.2%)
CIE-LABlab(42.80, 35.83, -62.51)
CIE-LCHlch(42.80, 72.06, 299.82°)
OKLaboklab(52.15% 0.0289 -0.1795)
OKLCHoklch(52.15% 0.182 279.1)
XYZxyz(18.4101, 13.0267, 59.9248)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855CE #CBCE55
analogous
#558ECE #5855CE #9555CE
triadic
#5855CE #CE5855 #55CE58
tetradic
#5855CE #CE558E #CBCE55 #55CE95
square
#5855CE #CE558E #CBCE55 #55CE95
split-complementary
#5855CE #CE9555 #8ECE55
monochromatic
#282683 #3733B2 #5855CE #8785DC #B5B4E9

Accessibility & contrast

On white

5.82
#5855CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5855CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855CE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855CE#FFFFFF#000000##FFFFFF
##5855CE1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#107289
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5855ce;
/* rgb */ color: rgb(88, 85, 206);
/* oklch */ color: oklch(52.1% 0.182 279.1);
Tailwind
colors: {
  custom: {
    50: '#9285de',
    500: '#5855ce',
    950: '#000000',
  },
}
SCSS
$custom: #5855ce;
$custom-light: #9285de;
$custom-dark: #000000;
JSON
{
  "hex": "#5855ce",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 206
  },
  "hsl": {
    "h": 241.488,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5215,
    "c": 0.18176,
    "h": 279.1
  },
  "luminance": 0.13028
}

Semantic roles & 50–950 ramp

primary
#5855CE
secondary
#D7D8A7
accent
#DF49DB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5855CE

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

Preview Lab → · Contrast checker → · Palette generator →

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