#5855BB#5855BB

#5855BB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.7% C 0.156 H 280.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5855BB
RGBrgb(88, 85, 187)
HSLhsl(242, 43%, 53%)
HSVhsv(242, 55%, 73%)
CMYKcmyk(52.9%, 54.5%, 0%, 26.7%)
CIE-LABlab(41.47, 29.75, -53.66)
CIE-LCHlch(41.47, 61.35, 299.00°)
OKLaboklab(50.73% 0.0287 -0.1534)
OKLCHoklch(50.73% 0.156 280.6)
XYZxyz(16.2399, 12.1586, 48.4952)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855BB #B8BB55
analogous
#5585BB #5855BB #8B55BB
triadic
#5855BB #BB5855 #55BB58
tetradic
#5855BB #BB5585 #B8BB55 #55BB8B
square
#5855BB #BB5585 #B8BB55 #55BB8B
split-complementary
#5855BB #BB8B55 #85BB55
monochromatic
#2D2B6B #3F3C97 #5855BB #8381CC #AEACDE

Accessibility & contrast

On white

6.12
#5855BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5855BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855BB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855BB#FFFFFF#000000##FFFFFF
##5855BB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766BF
Deuteranopia (green-blind)
#025EB9
Tritanopia (blue-blind)
#2D6C80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5855bb;
/* rgb */ color: rgb(88, 85, 187);
/* oklch */ color: oklch(50.7% 0.156 280.6);
Tailwind
colors: {
  custom: {
    50: '#8f85d0',
    500: '#5855bb',
    950: '#000000',
  },
}
SCSS
$custom: #5855bb;
$custom-light: #8f85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5855bb",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 241.765,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50734,
    "c": 0.15606,
    "h": 280.6
  },
  "luminance": 0.1216
}

Semantic roles & 50–950 ramp

primary
#5855BB
secondary
#CBCCA0
accent
#D355CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5855BB

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

Preview Lab → · Contrast checker → · Palette generator →

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