#5855BF#5855BF

#5855BF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.0% C 0.162 H 280.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5855BF
RGBrgb(88, 85, 191)
HSLhsl(242, 45%, 54%)
HSVhsv(242, 55%, 75%)
CMYKcmyk(53.9%, 55.5%, 0%, 25.1%)
CIE-LABlab(41.74, 31.02, -55.55)
CIE-LCHlch(41.74, 63.63, 299.18°)
OKLaboklab(51.02% 0.0288 -0.159)
OKLCHoklch(51.02% 0.162 280.3)
XYZxyz(16.6740, 12.3323, 50.7819)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855BF #BCBF55
analogous
#5587BF #5855BF #8D55BF
triadic
#5855BF #BF5855 #55BF58
tetradic
#5855BF #BF5587 #BCBF55 #55BF8D
square
#5855BF #BF5587 #BCBF55 #55BF8D
split-complementary
#5855BF #BF8D55 #87BF55
monochromatic
#2C2A70 #3E3B9C #5855BF #8481D0 #AFAEE0

Accessibility & contrast

On white

6.06
#5855BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5855BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855BF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855BF#FFFFFF#000000##FFFFFF
##5855BF1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C67C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#296D82
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5855bf;
/* rgb */ color: rgb(88, 85, 191);
/* oklch */ color: oklch(51.0% 0.162 280.3);
Tailwind
colors: {
  custom: {
    50: '#8f85d3',
    500: '#5855bf',
    950: '#000000',
  },
}
SCSS
$custom: #5855bf;
$custom-light: #8f85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5855bf",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 241.698,
    "s": 45.299,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51024,
    "c": 0.16156,
    "h": 280.3
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#5855BF
secondary
#CDCEA1
accent
#D553D1
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5855BF

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

Preview Lab → · Contrast checker → · Palette generator →

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