#5855EF#5855EF

#5855EF is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.8% C 0.224 H 276.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5855EF
RGBrgb(88, 85, 239)
HSLhsl(241, 83%, 64%)
HSVhsv(241, 64%, 94%)
CMYKcmyk(63.2%, 64.4%, 0%, 6.3%)
CIE-LABlab(45.36, 46.40, -77.12)
CIE-LCHlch(45.36, 90.00, 301.03°)
OKLaboklab(54.82% 0.0269 -0.2224)
OKLCHoklch(54.82% 0.224 276.9)
XYZxyz(22.8479, 14.8018, 83.2976)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855EF #ECEF55
analogous
#559FEF #5855EF #A555EF
triadic
#5855EF #EF5855 #55EF58
tetradic
#5855EF #EF559F #ECEF55 #55EFA5
square
#5855EF #EF559F #ECEF55 #55EFA5
split-complementary
#5855EF #EFA555 #9FEF55
monochromatic
#1511B8 #211DEA #5855EF #8F8DF4 #C6C5FA

Accessibility & contrast

On white

5.30
#5855EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5855EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855EF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855EF#FFFFFF#000000##FFFFFF
##5855EF1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0065EC
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5855ef;
/* rgb */ color: rgb(88, 85, 239);
/* oklch */ color: oklch(54.8% 0.224 276.9);
Tailwind
colors: {
  custom: {
    50: '#9785f5',
    500: '#5855ef',
    950: '#000000',
  },
}
SCSS
$custom: #5855ef;
$custom-light: #9785f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5855ef",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 239
  },
  "hsl": {
    "h": 241.169,
    "s": 82.796,
    "l": 63.529
  },
  "oklch": {
    "l": 0.54822,
    "c": 0.22398,
    "h": 276.9
  },
  "luminance": 0.14804
}

Semantic roles & 50–950 ramp

primary
#5855EF
secondary
#EAEBB5
accent
#DF06DB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5855EF

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

Preview Lab → · Contrast checker → · Palette generator →

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