#5855CC#5855CC

#5855CC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.0% C 0.179 H 279.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5855CC
RGBrgb(88, 85, 204)
HSLhsl(242, 54%, 57%)
HSVhsv(242, 58%, 80%)
CMYKcmyk(56.9%, 58.3%, 0%, 20%)
CIE-LABlab(42.66, 35.19, -61.60)
CIE-LCHlch(42.66, 70.94, 299.74°)
OKLaboklab(52% 0.0289 -0.1768)
OKLCHoklch(52% 0.179 279.3)
XYZxyz(18.1686, 12.9301, 58.6534)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855CC #C9CC55
analogous
#558ECC #5855CC #9455CC
triadic
#5855CC #CC5855 #55CC58
tetradic
#5855CC #CC558E #C9CC55 #55CC94
square
#5855CC #CC558E #C9CC55 #55CC94
split-complementary
#5855CC #CC9455 #8ECC55
monochromatic
#292680 #3835AF #5855CC #8684DA #B4B3E8

Accessibility & contrast

On white

5.86
#5855CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5855CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855CC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855CC#FFFFFF#000000##FFFFFF
##5855CC1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#157188
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5855cc;
/* rgb */ color: rgb(88, 85, 204);
/* oklch */ color: oklch(52.0% 0.179 279.3);
Tailwind
colors: {
  custom: {
    50: '#9185dc',
    500: '#5855cc',
    950: '#000000',
  },
}
SCSS
$custom: #5855cc;
$custom-light: #9185dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5855cc",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 241.513,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51996,
    "c": 0.17911,
    "h": 279.3
  },
  "luminance": 0.12931
}

Semantic roles & 50–950 ramp

primary
#5855CC
secondary
#D6D7A6
accent
#DD4BDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5855CC

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

Preview Lab → · Contrast checker → · Palette generator →

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