#5855BA#5855BA

#5855BA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.7% C 0.155 H 280.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5855BA
RGBrgb(88, 85, 186)
HSLhsl(242, 42%, 53%)
HSVhsv(242, 54%, 73%)
CMYKcmyk(52.7%, 54.3%, 0%, 27.1%)
CIE-LABlab(41.40, 29.43, -53.18)
CIE-LCHlch(41.40, 60.78, 298.96°)
OKLaboklab(50.66% 0.0287 -0.152)
OKLCHoklch(50.66% 0.155 280.7)
XYZxyz(16.1332, 12.1159, 47.9333)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855BA #B7BA55
analogous
#5584BA #5855BA #8A55BA
triadic
#5855BA #BA5855 #55BA58
tetradic
#5855BA #BA5584 #B7BA55 #55BA8A
square
#5855BA #BA5584 #B7BA55 #55BA8A
split-complementary
#5855BA #BA8A55 #84BA55
monochromatic
#2D2B6A #3F3D95 #5855BA #8381CC #AEACDD

Accessibility & contrast

On white

6.13
#5855BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5855BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855BA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855BA#FFFFFF#000000##FFFFFF
##5855BA1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1965BD
Deuteranopia (green-blind)
#075EB8
Tritanopia (blue-blind)
#2E6C7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5855ba;
/* rgb */ color: rgb(88, 85, 186);
/* oklch */ color: oklch(50.7% 0.155 280.7);
Tailwind
colors: {
  custom: {
    50: '#8f85cf',
    500: '#5855ba',
    950: '#000000',
  },
}
SCSS
$custom: #5855ba;
$custom-light: #8f85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5855ba",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 241.782,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50663,
    "c": 0.15468,
    "h": 280.7
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#5855BA
secondary
#CACBA0
accent
#D256CE
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5855BA

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

Preview Lab → · Contrast checker → · Palette generator →

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