#5855CF#5855CF

#5855CF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.183 H 279.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5855CF
RGBrgb(88, 85, 207)
HSLhsl(241, 56%, 57%)
HSVhsv(241, 59%, 81%)
CMYKcmyk(57.5%, 58.9%, 0%, 18.8%)
CIE-LABlab(42.88, 36.15, -62.97)
CIE-LCHlch(42.88, 72.61, 299.86°)
OKLaboklab(52.23% 0.0288 -0.1808)
OKLCHoklch(52.23% 0.183 279.1)
XYZxyz(18.5319, 13.0754, 60.5666)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855CF #CCCF55
analogous
#558FCF #5855CF #9555CF
triadic
#5855CF #CF5855 #55CF58
tetradic
#5855CF #CF558F #CCCF55 #55CF95
square
#5855CF #CF558F #CCCF55 #55CF95
split-complementary
#5855CF #CF9555 #8FCF55
monochromatic
#282584 #3633B4 #5855CF #8785DC #B6B4EA

Accessibility & contrast

On white

5.81
#5855CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5855CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855CF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855CF#FFFFFF#000000##FFFFFF
##5855CF1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#0D728A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5855cf;
/* rgb */ color: rgb(88, 85, 207);
/* oklch */ color: oklch(52.2% 0.183 279.1);
Tailwind
colors: {
  custom: {
    50: '#9285df',
    500: '#5855cf',
    950: '#000000',
  },
}
SCSS
$custom: #5855cf;
$custom-light: #9285df;
$custom-dark: #000000;
JSON
{
  "hex": "#5855cf",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 241.475,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52227,
    "c": 0.18309,
    "h": 279.1
  },
  "luminance": 0.13077
}

Semantic roles & 50–950 ramp

primary
#5855CF
secondary
#D7D9A7
accent
#DF49DC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5855CF

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

Preview Lab → · Contrast checker → · Palette generator →

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