#5855EC#5855EC

#5855EC is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.6% C 0.220 H 277.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5855EC
RGBrgb(88, 85, 236)
HSLhsl(241, 80%, 63%)
HSVhsv(241, 64%, 93%)
CMYKcmyk(62.7%, 64%, 0%, 7.5%)
CIE-LABlab(45.12, 45.45, -75.83)
CIE-LCHlch(45.12, 88.41, 300.93°)
OKLaboklab(54.57% 0.0272 -0.2186)
OKLCHoklch(54.57% 0.22 277.1)
XYZxyz(22.4084, 14.6260, 80.9828)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855EC #E9EC55
analogous
#559DEC #5855EC #A355EC
triadic
#5855EC #EC5855 #55EC58
tetradic
#5855EC #EC559D #E9EC55 #55ECA3
square
#5855EC #EC559D #E9EC55 #55ECA3
split-complementary
#5855EC #ECA355 #9DEC55
monochromatic
#1714B3 #221EE6 #5855EC #8E8CF2 #C4C3F8

Accessibility & contrast

On white

5.35
#5855EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5855EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855EC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855EC#FFFFFF#000000##FFFFFF
##5855EC1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#0064E9
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5855ec;
/* rgb */ color: rgb(88, 85, 236);
/* oklch */ color: oklch(54.6% 0.220 277.1);
Tailwind
colors: {
  custom: {
    50: '#9785f3',
    500: '#5855ec',
    950: '#000000',
  },
}
SCSS
$custom: #5855ec;
$custom-light: #9785f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5855ec",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 236
  },
  "hsl": {
    "h": 241.192,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54569,
    "c": 0.22026,
    "h": 277.1
  },
  "luminance": 0.14628
}

Semantic roles & 50–950 ramp

primary
#5855EC
secondary
#E8EAB3
accent
#DC09D8
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5855EC

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

Preview Lab → · Contrast checker → · Palette generator →

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